-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADA | Axe Issue: Pop-up Menu Not Contained by Landmarks #4504
Comments
At first I wasn't able to reproduce this, I had to enable "Best practices" when scanning. Is this actually something that is classed as an accessibility failure? This caused by a technique called portaling which we use quite heavily to ensure that overlays are always shown on top of content |
@kalyanighodake In this specific case, the use of portaling is considered an accessibility exception, similar to how modal dialogs and some ARIA live regions are handled. These elements are intentionally placed outside their invoking elements in the DOM to function properly. Our commitment to accessibility involves using a variety of best practices methods and thoroughly testing our solutions across multiple assistive technology and browser setups. However, if you experience any issues using assistive technology, please don't hesitate to let us know. I see that you are an employee of JPMorgan Chase & Co., so I recommend taking a look at our DAKB 1.3.1-09 for more detailed information on how we handle these scenarios. That said, we will still review this setup to see if there are further improvements we can make to enhance accessibility without compromising functionality. Thanks again for your valuable feedback. We appreciate your help in making our components better! |
Latest version
Description
When opening the menu pop-up using the Salt component, the Axe accessibility tool reports an error: "All page content should be contained by landmarks." This issue occurs because the menu dropdown is rendered in a data-floating-ui-portal outside the
element, which may cause it to be perceived as not being part of the structured content of the page.Steps to reproduce
Expected behavior
All page content, including dynamically rendered elements like pop-up menus, should be logically associated with a landmark region to ensure accessibility compliance.
Package name(s)
Core (@salt-ds/core)
Package version(s)
"@salt-ds/core": "^1.37.0"
Browser
Operating system
Are you a JPMorgan Chase & Co. employee?
The text was updated successfully, but these errors were encountered: