StoicBuilder

HandbookVI the AtriumAccessibility

VIthe Atrium, Design the experience

Accessibility

1 min readUpdated 28 November

In plain words

Accessibility means people with disabilities can use your app: by keyboard alone, with a screen reader that reads the page aloud, with zoomed text or without relying on colour.

Where you see it

Press Tab on Guildhall's sign-up form: a visible outline should move from field to field and reach the button, and Enter should submit. The axe DevTools extension and the Accessibility section of Lighthouse catch missing labels and low contrast in seconds.

components/SignUpForm.tsxbrowser
<label htmlFor="email">Email</label><input id="email" type="email" autoComplete="email" aria-invalid={Boolean(error)} aria-describedby="email-error" />{error && <p id="email-error">{error}</p>}
A real label, linked by id, and an error that a screen reader reads out with the field.

What goes wrong

  1. Placeholder text instead of a label

    Grey hint text inside the box disappears once someone starts typing, so they forget what the field was for, and it's often too faint to read. Keep a visible label above every field.

  2. Clickable divs

    A div with an onClick can't be reached with Tab or pressed with Enter. A real button or link does both without extra work.

    <div onClick={save}>Save</div>
  3. Removing the focus outline

    It makes the page look tidier and leaves keyboard users with no idea where they are. Restyle the outline if you dislike it, but keep one.

    *:focus { outline: none; }

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Make this form usable by keyboard and screen reader: a visible label for every field, real buttons instead of clickable divs, a visible focus outline, and error messages linked to their fields. Then give me a Tab-key walkthrough I can follow to check it.

Quick check

Sign in to earn +10 XP for it

Lighthouse gives Guildhall's sign-up page 100 for accessibility. Is the page accessible?

Got a prompt that touches accessibility?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.