Don't put aria-label on generic elements like divs
1–10 of 92 posts
Re: Don't put aria-label on generic elements like divs
#2Still, a nice concise read if you can get it
Re: Don't put aria-label on generic elements like divs
#3Re: Don't put aria-label on generic elements like divs
#4Re: Don't put aria-label on generic elements like divs
#5Speaking of WebAccessibilityFails, the article overflows to the left without a scrollbar when viewed on a phone narrower than an iPhone, making the first word of every line unreadable (and there are a lot of lines on a phone narrower than an iPhone).
There are several equally useless failure modes I’ve seen with this, a few off the top of my head:
- rendering fails, everything falls apart
- some elements disappear
- it drops into the feature-limited mobile view
- the author or framework overrides zoom with some other behavior — this one makes me especially crazy because they had to do *extra work* to screw up accessibility
Certain websites are impossible for me to use and I just avoid them.Re: Don't put aria-label on generic elements like divs
#6Even what's described in the article basically boils down to "You can label things, but not generic things (for some reason?), unless that generic thing is a or has a popover attr in which case it magically works." And this isn't even one of the "hard" accessibility things!
Re: Don't put aria-label on generic elements like divs
#7Support efforts for computer vision based browsers, MCP and APIs.
Re: Don't put aria-label on generic elements like divs
#8Avoid aria tags. The spec is unworkable (see this document) the browsers made by the disability industry extract vast quantities of money from disabled people with little effectiveness because they try and boil the ocean which unsurprisingly is ineffective. Support efforts for computer vision based browsers, MCP and APIs.
Do you have any sources to back these claims up?
Re: Don't put aria-label on generic elements like divs
#9I think the accessibility consultants like this state of affairs: they can threaten more lawsuits and extract more in consulting fees.