building-accessible-ui
building-accessible-ui
Checklist for producing and reviewing accessible UIs. Each rule leads with the platform-agnostic principle and, where relevant, the Web (HTML + ARIA + CSS) implementation. Apply the web guidance only when the output is web.
Detailed rationale lives in references/; widget-specific guidance in components/. Open a file only when it's relevant to the current task. Do not preload. Every file opened and every line a tool prints stays in context — don't re-read.
Accessibility constitution
Ground rules. Use them to resolve conflicts and decide how much custom work is justified. The checklist below is their mechanical application.
1. Accessibility is a core outcome
A UI inaccessible to realistic users is not "done". Treat accessibility as a first-class criterion alongside correctness, performance, and security — not a finishing step. When scope must be cut, record the gap explicitly. Never claim output is "fully accessible"; state what was addressed and known limitations.
2. Build for real people
Evaluate designs against these personas; if a decision breaks one, justify it and offer an alternative: