A "section" without an accessible name is nothing but a "div".
Submitted 3 weeks ago by Cat@ponder.cat to technology@lemmy.world
https://www.stefanjudis.com/today-i-learned/section-accessible-name/
Submitted 3 weeks ago by Cat@ponder.cat to technology@lemmy.world
https://www.stefanjudis.com/today-i-learned/section-accessible-name/
Eiri@lemmy.ca 3 weeks ago
That’s good and all but man is that person a big fan of aria properties.
To be clear, they’re not bad, but they’re a little brute-forcey. There’s often a way to achieve the same purpose without them.
For instance, instead of
aria-pressed
with buttons, you can just use radio buttons and labels. And your can just put heading elements in your sections instead of naming them with aria properties.