-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
The default behavior of injecting the div.modaal-wrapper at the end of the body has the side-effect of removing the content therein from any ARIA landmarks defined on the page. This limits the ability of assistive technologies to navigate to the content and also causes failures in automated accessibility checks.
I suggest checking for the presence of one of the tags with an implicit ARIA landmark role as parent of the modal content and inserting the div.modaal-wrapper element at the end of that element, falling back to current behavior if such an element is not present.
I'm willing to work on developing this update if it seems valuable to the project.
Metadata
Metadata
Assignees
Labels
No labels