Your daily frequent11y newsletter, brought to you by @ChrisBAshton:
alt attributes like paragraphs
- Developer and accessibility expert Dave Rupert came to a realisation recently: “
alt
text is like a paragraph”. To clarify, Dave isn’t talking about the length of thealt
text here, but the order in which it appears, and its contextual relevance. A lot of designs have images appearing before headings, but screen reader users who navigate by headings would miss the image (andalt
) entirely. If the image is important (e.g. “Sale” or “New”), it should probably be moved below the heading in the source order, but then perhaps rendered above the heading using something like the CSSorder
property.
Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.