|
|
|
|
|
by Vinnl
1321 days ago
|
|
I was surprised as well, and I wonder what the reason for that is. The article also mentions that it's explicitly disallowed on a bunch of elements in point #5 [1]. I know that I've used an aria-label on a <time> element in the past because the actual order of the contents of the element in there was kinda funky due to the visual presentation, so it felt like it would make sense to have a more sensible description in an aria-label. I wonder what the problem with that would've been, had browsers not discarded it? [1] https://w3c.github.io/aria/#namefromprohibited |
|