Some users are unable to use a mouse or prefer to use a keyboard to navigate around websites, it's therefore important to make sure that keyboard navigation is a good experience in your app.
- It must be possible to focus to any interactive element.
- It must be obvious which element has the focus (don't use
outline:none
).
- There must be a logical tab order
- Users must not get trapped in a region of a page
All of these requirements are normally met by default. If you structure your page well, everything will work properly.
Skip links can also help make keyboard navigation more efficient.