DEV Community

loading...

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 Author

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

Forem Open with the Forem app