Dharan Gokul R
Dharan Gokul R

Reputation: 1

Blocked aria-hidden on an element because its descendant retained focus

When I normally open/close the popup the aria-hidden was not showing. but if i open the popup inspect the inside of the modal element then I close it the error was showing. how to solve this problem. I was using the bootstrap 4.

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

Upvotes: 0

Views: 2685

Answers (0)

Related Questions