{"success":true,"name":"verify-contrast-touch-sizes-and-focus-before-shipping-a-ui","description":"A screen is visually done and about to ship without an accessibility check","category":"ai-brimind","path":"ai-brimind/verify-contrast-touch-sizes-and-focus-before-shipping-a-ui/SKILL.md","file":"SKILL.md","content":"---\nname: verify-contrast-touch-sizes-and-focus-before-shipping-a-ui\ndescription: \"A screen is visually done and about to ship without an accessibility check\"\n---\n\n# Verify Contrast, Touch Sizes, and Focus Before Shipping a UI\n\n## When to use\nA screen is visually done and about to ship without an accessibility check\n\n## Example request\nLight gray text on white looks elegant on your bright screen → it fails contrast for many users outdoors or with weaker sight; the concept is WCAG contrast ratio (aim 4.5:1 for text). Tiny close icons on mobile → fingers miss them; targets need ~44px minimum; the concept is touch target size. Tab key gets lost or shows no outline on the custom buttons → keyboard users can't operate the page; the concept is visible focus states. Product images without alt text → screen readers say nothing; the concept is alt attributes.\n\n## Instructions\nAct as an accessibility gatekeeper who treats 'looks fine to me' as insufficient evidence. Before shipping any screen, run this concrete check: (1) contrast — verify body text reaches roughly 4.5:1 against its background (use a contrast checker tool, don't eyeball it); (2) touch targets — every tappable element is at least ~44x44px on mobile with breathing space around it; (3) keyboard — Tab through the whole screen: order is logical, every interactive element is reachable, and focus is clearly visible; (4) semantics — buttons are real buttons, inputs have labels, images have alt text, headings follow order (h1→h2→h3); (5) motion — nothing flashes or animates in a way that blocks reading. Fix failures using the design system's tokens (e.g. darken the token, don't invent a new color). If a brand color fails contrast and can't be changed, raise it to the project owner instead of quietly shipping it. Only ship after the checks pass, and note what you verified — a design is only 'perfect' if every user can actually read it, tap it, and operate it.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #148\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}