Certain Chrome and Edge versions (confirmed: Chrome v127, v128, v129 and Edge v127) would indicate that certain elements have an accessibility violation:
Blocked aria-hidden on a "ELEMENT NAME" element because the element that just received
focus must not be hidden from assistive technology users. Avoid using aria-hidden on a
focused element or its ancestor. Consider using the inert attribute instead, which will also
prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at
This issue happens when a toast appears and the users clicks on any element that is not related to toast. This is due to the main content having an aria-hidden so users should not to be able to interact with any of those elements. This isn't an issue when an overlay uses a backdrop, like ion-alert because the backdrop prevents a user from interacting with those elements.
What is the new behavior?
When toast is present, the main content no longer has an aria-hidden. This aligns with accessibility guidelines. I also verified with other Framework, MD states "Don't trap focus in the snackbar. Users should be able to freely navigate in and out."
Issue number: stemmed from #29773
What is the current behavior?
Certain Chrome and Edge versions (confirmed: Chrome v127, v128, v129 and Edge v127) would indicate that certain elements have an accessibility violation:
This issue happens when a toast appears and the users clicks on any element that is not related to toast. This is due to the main content having an
aria-hidden
so users should not to be able to interact with any of those elements. This isn't an issue when an overlay uses a backdrop, likeion-alert
because the backdrop prevents a user from interacting with those elements.What is the new behavior?
aria-hidden
. This aligns with accessibility guidelines. I also verified with other Framework, MD states "Don't trap focus in the snackbar. Users should be able to freely navigate in and out."Does this introduce a breaking change?
Other information
Dev build:
8.3.4-dev.11729879684.1ea28919
npm install @ionic/angular@8.3.4-dev.11729879684.1ea28919