Skip to content

aria-multiselectable is invalid in this context #37

@JacobDB

Description

@JacobDB

If you run a Lighthouse report on your own demo, you'll get this notice:

[aria-*] attributes do not match their roles

Each ARIA role supports a specific subset of aria-* attributes. Mismatching these invalidates the aria-*attributes. Learn how to match ARIA attributes to their roles.

Failing Elements

Lorem ipsum (autofocused) Lorem ipsum (default opened) Lorem ipsum dolor sit a…
<div class="handorgel default" id="handorgel1" aria-multiselectable="true">

Looking in to aria-multiselectable, I see that it's only valid on elements with these roles: grid, listbox, tablist, or tree. Additionally, the W3's accordion example doesn't include aria-multiselectable.

Can you please remove this attribute? From everything I've found, it seems unnecessary in this context, and one of my clients is complaining about this warning in Lighthouse. I know I could just disable multiselection, but that's not really the problem, the aria-multiselectable attribute appears to be unneeded either way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions