GitHub, 7 stars
Light themes
Dark themes

Make your own

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.

Accessibility

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.

Vladyslav KorzhMaintains Tray UI8 minutes to read

More articles

Seven more, newest first.

Accessibility, 7 minutes

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.

Accessibility, 6 minutes

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.

Accessibility, 6 minutes

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.

Accessibility, 8 minutes

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.

Accessibility, 9 minutes

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.

Accessibility, 6 minutes

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.

Accessibility, 8 minutes

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.

Open the feed

GitHub7 stars

↑↓ to moveEnter to openEsc to close