See that the console shows Blocked aria-hidden on a <button> 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 https://w3c.github.io/aria/#aria-hidden.
A console error when pressing esc after opening the popover
Version
6.7.0
What browsers are you experiencing the problem on?
Chrome
Relevant log output
Blocked aria-hidden on a <button> 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 https://w3c.github.io/aria/#aria-hidden. <button type="button" class="Button--secondary" aria-haspopup="true" aria-expanded="true" aria-controls="popover2">…</button>gridUnderstand this error
Steps to reproduce
esc
Blocked aria-hidden on a <button> 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 https://w3c.github.io/aria/#aria-hidden.
https://github.com/user-attachments/assets/1703fdb0-cd88-4c9e-9366-1ca7b2d69c04
Expected Behavior
No console error for aria-hidden
Actual Behavior
A console error when pressing esc after opening the popover
Version
6.7.0
What browsers are you experiencing the problem on?
Chrome
Relevant log output
Anything else we should know?
Additional information