# Keyboard Users and Accessible Controls

Build controls that work for people who use a keyboard or a screen reader, with real buttons, aria-pressed and aria-expanded that match what the page shows, and an Escape key that closes what's open and puts focus back.

![Cheat sheet: Keyboard Users and Accessible Controls](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/69774a0c453c45b58720b5a65271608f.webp)

- Category: JavaScript
- Level: Journeyman
- Tags: &lt;button>, Accessibility, JavaScript, Screen reader, Sequential focus navigation, WCAG, web-development
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-events-keyboard-and-accessibility-cheat-sheet
