Accessibility Tools provides a configurable, lightweight accessibility widget for Drupal 9, 10 and 11. Site visitors can enable features directly from the frontend without any account or configuration required. Preferences are saved via cookies and restored on each visit.
Features
Visual
- High contrast: Increases contrast ratio for improved readability.
- Inverted colors: Inverts all page colors for users sensitive to brightness.
Readability
- Accessible font (OpenDyslexic): Replaces the site font with OpenDyslexic to reduce reading errors for users with dyslexia.
- Text size: 5-level slider to increase or decrease the font size.
- Text spacing: Applies WCAG 1.4.12 compliant spacing (line height, letter spacing, word spacing, paragraph margins).
Navigation
- Disable animations: Stops CSS transitions and animations, useful for users with vestibular disorders (WCAG 2.3.3).
- Large cursor: Replaces the system cursor with an enlarged high-contrast pointer.
- Keyboard navigation: Displays a visible focus indicator that follows keyboard focus across the page.
Focus
- Reading mask: Adds a semi-transparent overlay with a clear reading band that follows the mouse, helping users maintain focus on a single line.
- Focus mode: Hides sidebars, banners and decorative elements; tones down navigation and footer to reduce visual noise.
Architecture
Each feature is a standalone plugin. Site administrators can enable, disable and configure individual plugins from Administration > Configuration > User interface > Accessibility tools. The widget is injected automatically on every page or can be placed as a Drupal block.
All CSS is scoped under body.a11y-{plugin} — styles are completely inactive until a user enables a feature. No JavaScript global variables, no style leakage.
Compatibility
- Drupal 9, 10 and 11
- PHP 8.1+
- No jQuery dependency — vanilla JS with js-cookie
Installation
composer require drupal/accesstools
Then enable the module:
drush en a11y
Additional accessibility modules
- Accessibility: Guidelines for content editors (Section 508 / WCAG 2.0 AA).
- Block ARIA Landmark Roles: Assign ARIA landmark roles to blocks from the block interface.
Contributions and feedback are welcome via the issue queue.
Project information
- Created by anzelkiel on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

