WebCraft

TAG ยท a11y

Accessibility patterns in CSS and HTML

Focus rings, skip links, inert content and text that screen readers still announce, each with a live demo and the catch. 6 elements, each rendered live with its source and the one thing that breaks it.

  1. Tab order that follows what you see reading-flow
  2. Hidden from eyes, kept for readers .visually-hidden
  3. The link only keyboards ever meet skip link + :focus
  4. A dropdown a keyboard can hold open :focus-within
  5. A focus ring for keyboards only :focus-visible
  6. A section the page cannot reach inert