• Eiri@lemmy.ca
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    4 hours 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.