Re:Don't put aria-label on generic elements like divs
by RobMurray on Tuesday May 26, 2026 @01:22PM
(#48282783)
I did read the article. Why do you need to label a div? It's just a container, not a semantic element. If you really want to use a div for something semantic you can set role and aria-label. That is done all the time and works with screen readers.
[ Parent
| on HN ]
There are no comments on this comment yet.