Inclusive clicks in JS apps
summary
Advocates using semantics and small concrete rules: use a real button for actions and a real link for navigation, or build a component that renders an <a> when href is given; add aria attributes like aria-current="page" for nav and aria-pressed for toggles, toggle them with the router or state; prefer built libraries (react Ali dialogue Rich UI react area) for complex widgets; sometimes use HTML only (details/summary) to avoid JavaScript.
AI-written summary · about
chapters (10)
- 0:00Introduction to inclusive clicks in JavaScript
- 0:52Buttons for keyboard users
- 1:37Links vs buttons in nav
- 2:39Valid HTML with styled components
- 3:40Screen reader nav links
- 5:45Toggle buttons and ARIA
- 6:47ARIA styling
- 7:31Complex components like dialogs require careful work
- 8:57Accessible libraries and tools
- 9:38HTML solves accessibility
related talks
47mThe Links vs. Buttons Showdown
27mMaking Interactions Accessible to All Users
52mMaking Single Page Apps Accessible: It's easier than you think
52mA11y with React Components
34mBuilding Accessible Components in React
28mDeveloper's Guide to Accessibility Mechanics
39mBuilding Webapps for everyone - a11y with React
16mDemystifying accessibility in React apps
