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
ARIA state or property is permitted only allows for global ARIA attributes and the ones explicitly mentioned in ARIA.
However, ARIA in HTML is having an extended list of attributes (and roles) that are allowed depending on the HTML element. There are more of them than the stuff mentioned in ARIA.
Among other, <input type="password"> have no role which, according to our rule, only allow for global aria-* attribute, but ARIA in HTML of password explicitly allows the attribute allowed on textbox.
Thus, our rule is failing <input type="password" aria-required> since aria-required is not a global attribute, but it shouldn't fail since aria-required is allowed on textbox and therefore on input type="password".
ARIA state or property is permitted only allows for global ARIA attributes and the ones explicitly mentioned in ARIA.
However, ARIA in HTML is having an extended list of attributes (and roles) that are allowed depending on the HTML element. There are more of them than the stuff mentioned in ARIA.
Among other,
<input type="password">
have no role which, according to our rule, only allow for globalaria-*
attribute, but ARIA in HTML of password explicitly allows the attribute allowed ontextbox
.Thus, our rule is failing
<input type="password" aria-required>
sincearia-required
is not a global attribute, but it shouldn't fail sincearia-required
is allowed ontextbox
and therefore oninput type="password"
.See w3c/aria#1461
Not entirely sure how to salvage the rule without being too verbose…
The text was updated successfully, but these errors were encountered: