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