You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow on to #447, this issue is being created in case there are other elements which should disallow the use of aria-hidden on them.
For instance, focusable elements which have not been provided a tabindex=-1 or disabled attribute (noting that for the tabindex=-1 case, that CSS pointer event cancellation would need to also be added, but that may be out of scope for what can reasonably be checked).
The text was updated successfully, but these errors were encountered:
a warning for main, maybe. but there could be reasons to use it on main.
e.g., this would still be allowed, as without using inert, this was one of the best ways to make a web page hidden to a screen reader when a modal dialog was open.
so we wouldn't want to fail a page for doing something valid like that. the html/body aria-hidden=true is far more harmful and i would submit is far more common due to misunderstanding how to use aria, rather than being done for a valid use case.
As a follow on to #447, this issue is being created in case there are other elements which should disallow the use of aria-hidden on them.
For instance, focusable elements which have not been provided a
tabindex=-1
ordisabled
attribute (noting that for thetabindex=-1
case, that CSS pointer event cancellation would need to also be added, but that may be out of scope for what can reasonably be checked).The text was updated successfully, but these errors were encountered: