Accessibility in practice
Where focus goes, invalid fields, reduced motion, lists in Safari, right to left, charts, a WCAG 2.2 checklist and the 54 bugs found in Tray UI.
54 accessibility bugs in 108 components
What a check of Tray UI's 108 components against their own code found: focus dropped to the page, missing names, silent changes, small targets, and the fixes.
More articles
Seven more, newest first.
Where focus goes when its element disappears
A focused button that is removed, hidden or disabled drops focus to the body. Where to send it instead, what WCAG asks, and a small rescue() helper.
Why invalid fields lose their focus ring
An error outline written after the focus rule, at the same specificity, replaces the focus ring of an invalid field. Why it happens, and two ways to keep both.
list-style: none lists in Safari and VoiceOver
Safari stops exposing a list as a list once its markers are gone, unless it is in a nav. WebKit's reasons, role="list", the ::before trick and Tray UI's choice.
Right to left: which arrows to flip
Right to left, back arrows and chevrons flip; a clock, a play button and a check do not. Logical properties, dir, and arrow keys that follow the screen.
A WCAG 2.2 AA checklist for components
What to check in a component for WCAG 2.2 AA: names, keyboard, focus, target size, contrast, status messages, motion, zoom and dragging, by criterion.
prefers-reduced-motion beyond animation
What prefers-reduced-motion should change besides keyframe animations: presses, turning chevrons, filling bars, a folding sidebar and overlays that fade.
Accessible charts: keyboard, key and table
A chart in HTML that everyone can read: a name and a summary, a key that does not rest on colour, the figures as a table, arrow keys and colours at 3:1.
New articles in a feed
Add the Atom feed to a feed reader, and each new article comes to you whole, with its code.