3 ms·
Would this tell the screen reader to just ignore it? Then you'd lose all accessibility for its content.
by billyp-rva 1y ago
Would this tell the screen reader to just ignore it? Then you'd lose all accessibility for its content.
- jen729w 1y agoI believe role=“img” tells it to behave like one, causing the descriptive text to be read out in its place.
- billyp-rva 1y agoYeah, that seems bad. The whole point of the diagram was to explain something better than prose could, and now it is lost. I'm thinking the case were someone can make out the shapes/arrows/colors well, but not the text.
- jen729w 1y agoIn my case, that's not why I'm using the diagram. It's simply a visual thing, to break up a page of text. Purely aesthetic.
- cestith 1y agoThe aria-label would be used to describe the content.