-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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!
focus-trap/src/lib/focusable.ts
Line 29 in efe5491
| || ($elem.hasAttribute("aria-disabled") && $elem.getAttribute("aria-disabled") !== "false"); |
Metadata
Metadata
Assignees
Labels
No labels