skills/cookie-consent/SKILL.md
Use when you need to inform users about the use of cookies.
npx skillsauth add thedaviddias/ux-patterns-for-developers cookie-consentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inform users about the use of cookies
A Cookie Consent pattern helps teams create a reliable way to explain optional tracking clearly, capture a meaningful choice, and let users revise that choice later. It is most useful when teams need websites using analytics or marketing cookies. Compared with adjacent patterns, this pattern should reduce friction without hiding the state, rules, or recovery paths people need to keep moving.
references/pattern.md, then choose the smallest viable variation.aria-describedby or structural headings when useful.The Problem: When every state uses strong color, motion, and sound, people stop paying attention.
How to Fix It? Create a severity ladder and reserve the strongest treatment for the states that truly need interruption.
The Problem: Short tasks feel sluggish with heavy loading UI, while long tasks feel abandoned with no progress guidance.
How to Fix It? Pick the lightest possible feedback for the wait length and keep the pattern honest about how much is known.
The Problem: Screen reader users miss transient changes when live-region behavior is inconsistent or absent. How to Fix It? Define how each state is announced and test polite versus assertive updates with real assistive technology.
For full implementation detail, examples, and testing notes, see references/pattern.md.
Pattern page: https://uxpatterns.dev/patterns/user-feedback/cookie-consent
tools
Use when implementing help users understand their current location.
tools
Use when implementing multi-step forms and processes.
content-media
Use when implementing video playback with controls.
development
Use when choosing, comparing, or implementing UX patterns across the UX Patterns for Developers corpus.