w3c / html-aria

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

No default role for input[type="password"] #238

Closed jschfflr closed 4 years ago

jschfflr commented 4 years ago

According to this spec an input field of type password does not have a default role but according to the Accessibility API Mappings all other accessibility apis have a mapping for it. Is there a specific reason for not defining a default role for this case?

stevefaulkner commented 4 years ago

@jschfflr

all other accessibility apis have a mapping for it. Is there a specific reason for not defining a default role for this case?

The reason is that the platform mappings are not consistent. For example, Ia2 is Role: ROLE_SYSTEM_TEXT while ATK is Role: ATK_ROLE_PASSWORD_TEXT.