w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
178 stars 48 forks source link

input[type=password] why is default role not textbox #422

Closed jongund closed 1 year ago

jongund commented 2 years ago

Curious why the default role for input[type=password] is "no corresponding role" and not textbox?

scottaohara commented 1 year ago

there is this: https://github.com/w3c/aria/issues/935

it's not just a textbox, as there are other specific mappings to it. it wouldn't be accurate to say it cleanly maps to role=textbox.

So going to close this as this spec is accurate since there is no corresponding aria role.