File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,13 @@ const validHbs = [
2424
2525 // <input type="password"> has no implicit role per aria-query (it's intentionally
2626 // not mapped so that screen readers don't announce typed content). No role →
27- // no aria-supported-props check.
27+ // no aria-supported-props check. Pin this with attributes that would be REJECTED
28+ // on a textbox (aria-checked, aria-selected): if the rule mis-classified password
29+ // as a textbox fallback, these would flag.
2830 '<input type="password" aria-describedby="hint" />' ,
2931 '<input type="password" aria-required="true" />' ,
32+ '<input type="password" aria-checked="false" />' ,
33+ '<input type="password" aria-selected="true" />' ,
3034
3135 // <input type="text"> without a list attribute is a textbox — aria-required,
3236 // aria-readonly, aria-placeholder are all supported.
You can’t perform that action at this time.
0 commit comments