News for hackers. Stuff that matters.
Re:Aria-label is a code smell by fregante on Wednesday November 02, 2022 @06:38AM (#33433718)
I don’t think it's actually a net benefit. Adding the wrong value degrades the experience.

I've seen links marked with `role=button` for no reason and generally roles added when one is implied (role=link is implied on anchors for example).

If aria attributes are treated as "private/testing API", then one wouldn't be surprised when the value only makes sense to bots and not humans.

There are no comments on this comment yet.