spartan
spartan copied to clipboard
Blocked aria-hidden
Please provide the environment you discovered this bug in.
The issue is visible on the documentation page itself: popover doc. It also happens using the popover component in my app.
Which area/package is the issue in?
popover
Description
When clicking the element to open the popover, clicking it again will trigger an error on the browser console (Google Chrome).
Please provide the exception or error you saw
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.
Other information
No response
I would be willing to submit a PR to fix this issue
- [ ] Yes
- [ ] No