Why am I getting an error in console when I try to open a simple dialog using a button in vbcs?
Summary:
When I click on a button to open a simple dialog I am getting this error in console. Also please note the aria-hidden="true" property in the below error is not added by me, It is added automatically.
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
0