Skip to main content


For Zarq's sake. Seriously?
<a href="fortune.com/company/wework/" aria-label="Go to fortune.com/company/wework/">WeWork</a>
Not only has the label of all links in this article been unnecessarily overridden, it's been overridden with a URL.
#accessibility

Tamas G reshared this.

in reply to Jamie Teh

ah yes, I was wondering when someone would notice this, and that it's on all Fortune.com articles. I never bothered to check what they were doing, but it's really annoying when the visual text is overwritten by an `aria-label` of the URL, wonder what genius had that idea. My last article I read had this same issue, so my guess it's inserted recursively by the CMS. fortune.com/2024/06/23/microso…
This entry was edited (4 months ago)
in reply to Jamie Teh

I keep saying we need a way to just remove all ARIA. This is why. Nobody thinks it's a good idea, but then there's this crap. Not too long ago some Wordpress plugin was injecting “Undefined (opens in a new tab)" into articles. This is why we can't have nice things.
in reply to simon.old

@simon The thing is... sometimes ARIA is essential. And while I'll grant that it's much easier to abuse ARIA, there are plenty of other ways you can make things suck for users who depend on accessibility semantics. Off-screen content gets abused quite often too and you don't need a drop of ARIA for that.
in reply to Jamie Teh

Oh I know how essential it is. I'm not saying we should auto-remove it. But what if AxsHammer had a "Kill all ARIA labels and roles" option? It would really fit the hammer mentality, but I would use it sometimes.
in reply to simon.old

@simon Hmm. Other than role="application", what roles have you seen that break things so badly as to justify that? Totally hear you on labels though.
in reply to Jamie Teh

@simon Menu, menubar, menu item. If used incorrectly and without the proper nesting, these still throw off JAWS, VoiceOver on the Mac, and I’ve even seen NVDA go into some limbo state some time ago. Oh yeah, and tab without tablist parent. Especially when on an a tag with href attribute.
in reply to Marco Zehe

@Marco @simon I just submitted a new version of AxSHammer with Kill all aria-label and Kill all ARIA roles. It is awaiting review.
in reply to Marco Zehe

@Marco Someone found a stray presentation role on a link recently. Give people the attributes and they'll misuse them.
in reply to simon.old

@simon No, but at least Firefox ignores role presentation if the element is focusable.
in reply to simon.old

@simon @Marco A few days ago I found <button aria-label="Open Chat" aria-roledescription="Chat with a digital assistant"></button>

It’s wild stuff that developers do, assuming they do the right thing.