Julia Undeutsch
Nov 20, 2024
Accessibility in React Application
#1about 4 minutes
Common accessibility challenges in React SPAs
Single-page applications introduce unique accessibility issues like poor semantics, generic page titles, and difficult focus management.
#2about 8 minutes
Using semantic HTML for a better accessibility tree
Semantic HTML provides inherent meaning and structure, which translates directly to a navigable and understandable accessibility tree for screen reader users.
#3about 2 minutes
Using React Fragments to maintain valid HTML structure
React Fragments allow grouping elements without adding extra nodes to the DOM, preventing invalid HTML structures like a div inside a ul.
#4about 1 minute
Using correct JSX attributes for HTML properties
React uses camelCase for most HTML attributes, so it is important to use `className` instead of `class` and `htmlFor` instead of `for`.
#5about 7 minutes
Implementing effective focus management strategies in React
A CRUD application example demonstrates how to handle focus logically after adding, editing, or deleting items to create a predictable keyboard navigation experience.
#6about 3 minutes
Announcing page changes and live updates to users
Use techniques like updating the document title and implementing ARIA live regions to inform screen reader users about dynamic content changes and notifications.
#7about 3 minutes
A practical guide to testing React components for accessibility
Combine manual keyboard testing, browser extensions like axe DevTools, linters, and automated tests to ensure components are accessible.
#8about 1 minute
Summary of key principles for accessible React apps
A recap of essential practices including using semantic HTML, managing focus, announcing updates, and consistent testing to build accessible applications.
Related jobs
Jobs that call for the skills explored in this talk.
yesterday
Senior Fullstack Engineer

fonio GmbH
Remote
Senior
yesterday
Founding Product Engineer

fonio GmbH
Remote
Intermediate
Senior
8 days ago
Senior Web Developer bei Cyberport

Hubert Burda Media
Remote
Intermediate


