Topic

Javascript tips

Every accessibility tip on this site tagged Javascript.

Accessibility testing with JavaScript

Using axe-core, Playwright, Jest, and Cypress to write automated accessibility tests in JavaScript that run in CI/CD pipelines.

Javascript
Accessible carousels and sliders

Building carousels with keyboard navigation, live region announcements, auto-rotation controls, and proper ARIA roles for screen readers.

Javascript
Device dependent event handlers

Replacing device-dependent event handlers with accessible alternatives to ensure keyboard, touch, and pointer compatibility.

Javascript
Focus management in SPAs

Managing focus after route changes in single-page applications to ensure screen reader users know when content has updated.

Javascript
Using keyboard for content accessibility

Keyboard interaction patterns, focus trapping, focus restoration, and modern event.key usage for accessible custom widgets.

Javascript