Skip to content

aria-disabled should be focusable #13

@kee-oth

Description

@kee-oth

Currently, focus-trap doesn't allow for focusing of elements with aria-disabled=true. For accessibility reasons, aria-disabled=true is often used instead of disabled to allow for the element to be tabbed to. Can we at least get an opt-in option to not consider elements with aria-disabled=true when determining whether it can be focused?

Thanks!

|| ($elem.hasAttribute("aria-disabled") && $elem.getAttribute("aria-disabled") !== "false");

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