Das role-Attribut bietet viele Möglichkeiten für die barrierefreie Webgestaltung. Jan Eric Hellbusch (@2bweb) mit einem Einstieg in die Accessible Rich Internet Applications (ARIA).
The ARIA switch role is functionally identical to the checkbox role, except that instead of representing "checked" and "unchecked" states, which are fairly generic in meaning, the switch role represents the states "on" and "off."
HTML has all sorts of built-in features that, when used correctly, are accessible, will localize, and which just work. For example, if I want a button, I use , and a screen reader will announce it as button. For users in other languages, they will hear whatever is their word…
E-Commerce Accessibility: Specifying UI Elements Using “Roles” – Articles – Baymard Institute
“Roles” that specify the purpose of UI elements are crucially important for accessibility compliance and users. Yet many e-commerce sites fail to get this right.