Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
billyp-rva
7mo ago
0 comments
Share
Would this tell the screen reader to just ignore it? Then you'd lose all accessibility for its content.
0 comments
default
newest
oldest
jen729w
7mo ago
I believe role=“img” tells it to behave like one, causing the descriptive text to be read out in its place.
billyp-rva
OP
7mo ago
Yeah, 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
7mo ago
In 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
7mo ago
The aria-label would be used to describe the content.
j
/
k
navigate · click thread line to collapse