Handling Keyboard Events
When you allow users to navigate applications with the keyboard, you give them superpowers and help them save time and they'll love you for it. This chapter shows you how to do all that.
Plus, being able to handle keyboard events is the first step to mastering accessibility.
Lessons in this chapter
- 1. Keyboard users 1m:45s
- 2. Handling commonly used keys 5m:09s
- 3. Keyboard events 5m:40s
- 4. Understanding Tabindex 3m:07s
- 5. Detecting the focused element 1m:21s
- 6. Directing focus 4m:08s
- 7. Preventing people from tabbing into elements 1m:10s
- 8. How to choose keyboard shortcuts 3m:42s
- 9. Creating single-key shortcuts 2m:10s
- 10. 🛠️ Off-canvas: Adding keyboard interaction 5m:06s
- 11. 🛠️ Modal: Adding keyboard interaction 8m:27s
- 12. 🛠️ Accordion: Adding keyboard interaction 8m:32s
- 13. 🛠️ Tabby: Adding keyboard interaction 6m:17s
- 14. 🛠️ Tabby: Refactoring 4m:20s
- 15. 🛠️ Carousel: Adding keyboard interaction 8m:15s
- 16. 🛠️ Carousel: Displaying help text 1m:08s
- 17. 🛠️ Calculator: Adding keyboard interaction 5m:37s
- 18. 🛠️ Popover: Keyboard 6m:03s
- 19. 🛠️ Popover: Refactor 1m:12s
- 20. Keyboard shortcuts with Command and Control modifiers 5m:04s
- 21. 🛠️ Todolist: Keyboard 10m:45s
- 22. 🛠️ Typeahead: Keyboard 8m:03s
- 23. 🛠️ Typeahead: Selecting a prediction with the keyboard 3m:27s
- 24. 🛠️ Google Maps Clone: Keyboard 0m:30s
- 25. 🛠️ Dota Heroes: Keyboard 0m:16s
- 26. 🛠️ Datepicker: Tabbing in and out 4m:30s
- 27. 🛠️ Datepicker: Keyboard shortcuts 10m:23s