DEV Community

Discussion on: Accessibility For Beginners with HTML and CSS

Collapse
 
comandeer profile image
Tomasz Jakut

The golden rule of using [tabindex] is: never use values other than 0 and -1. Any other value changes the default focus order, creating unexpected experience for the user.

There is also issue with [accesskey] as it's not usable across browsers. Nearly every browser has its own format for shortcuts. In most cases it's better to implement keyboard shortcuts with some scripting.

Collapse
 
mxl profile image
Maria Boldyreva

Thank you for your comment Tomasz, I'll learn more about the topic.