You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7417f33
Browse filesBrowse the repository at this point in the historyBrowse files
fix(gallery): improve accessibility of landing and cards
Expose screenshot descriptions to screen readers via a visually-hidden
span, since the thumbnail alt sat inside an aria-hidden link and was
dropped from the accessibility tree. Set the decorative thumbnail
image alt to empty.
Emit a single h1 on the landing by demoting the hero to h2, and stop
category names being announced twice by rendering the chooser titles
as spans instead of headings.
Darken the image-less card gradient so white text meets WCAG AA
contrast, and add an opens-in-new-window cue to external card links.
0 commit comments