-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Check existing issues
- I have checked for existing issues to avoid duplicates
Actual Behavior
Error message appears in debugger console when alert is closed:
Blocked aria-hidden on an element because its descendant retained focus. The 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 https://w3c.github.io/aria/#aria-hidden.
Element with focus: button
Ancestor with aria-hidden:
Expected Behavior
No error message
Reproduction Sample
CodePen in doc page https://developers.arcgis.com/calcite-design-system/components/alert
Reproduction Steps
- Go to
alert
doc page https://developers.arcgis.com/calcite-design-system/components/alert - Open "Edit sample on CodePen"
- Open the debugger
- Close the alert using the close button
What's weird is that if I change the Calcite version, the problem is usually not repeatable, including if I go back to version 2.13.2. (I was trying to answer the regression? question.)
Reproduction Version
2.13.2
Relevant Info
Windows 11 Enterprise; Chrome 132
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
It does not affect our team at this time.
Calcite package
- @esri/calcite-components
- @esri/calcite-components-react
- @esri/calcite-design-tokens
- @esri/calcite-ui-icons
- @esri/eslint-plugin-calcite-components
Esri team
ArcGIS Solutions