Contributed Modules for Extending Accessibility in Drupal

Last updated on
11 March 2024

The following modules can help improve the accessibility of your site.

Note: Some of these modules may be outdated and/or not covered by Drupal's security advisory policy. Please check individual module page for more details. 

Core Improvements

A11Y: Form helpers

Latest Version: 2.0.1

Adds readable error messages for inline form errors. And allows form fields to use autocomplete attributes, for prefill of form data by the browser.

Block ARIA Landmark Roles

Latest Version: 3.0.1

Inspired by Block Class, this module adds additional elements to the block configuration forms that allow users to assign a ARIA landmark role to a block.

CKEditor Abbreviation

Latest Version: 4.0.0-alpha2

Adds a button to CKEditor for inserting and editing abbreviations. If an existing ABBR tag is selected, the context menu also contains a link to edit the abbreviation.

Quality Assurance

CKEditor Accessibility Auditor

Latest Version: CKEditor 4 only

Simple integration for CKEditor to run HTML_CodeSniffer Accessibility Auditor on the source code of the content currently in the editor.

Editoria11y Accessibility Checker

Latest Version: 2.0.8

A user-friendly, automatic checker designed to help authors create well-structured content with better text alternatives, without needing to be remember to press a button or visit a dashboard. For logged-in authors, it works like spellcheck: marking issues inline on rendered pages and previews, offering tips for fixing issues, and collecting lists of remaining issues and completed manual checks for later review.

htmLawed

Latest Version: 4.1.3

The htmLawed module uses the htmLawed PHP library to restrict and purify HTML for compliance with site administrator policy and standards and for security. The library allows for highly customizable control of HTML markup.

HTML Purifier

Latest Version:  8.x-1.0

HTML Purifier is a standards-compliant HTML filter library. HTML Purifier will not only remove malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your HTML is standards compliant.

Latest Versions: 8.x-18

The Node Link Report provides a report based on the full scan of all links on a node or term page. In addition to checking for broken (404), redirected, and good links.  It can also scan them for accessibility errors such as indiscernible text or image links without indiscernible alt or aria-labels.

Siteimprove

Latest Versions: 2.02

An integration for Siteimprove customers that displays results during the content creation and editing process. Requires purchase of Siteimprove service.

End-user Personalization

These modules provide options to override your site's font, text size, line-height, colors, etc.

Allowing the end-user to switch between tested variations of your theme colors and typography makes sense in some contexts, but site owners should familiarize themselves with the issues overlays can introduce before assuming this functionality is necessary.

Experimental

Accessibility Scanner

Latest Versions: 2.0.0-beta1 (no Drupal 10 support yet)

The Accessibility Scanner module allows you to use Drupal in combination with Deque's Axe toolset to perform web accessibility scans on local and remote websites based on a list of URLs or XML sitemaps, all within the familiar Drupal admin interface.

Automatic Alternative Text

Latest Version: 2.0.2

The module uses the Microsoft Azure Cognitive Services API to generate an Alternative Text for images when no Alternative Text has been provided by user.

Note: AI and image recognition can be beneficial to prompt authors, but cannot replace author input. What a computer sees in an image is rarely going to be the same as what the author wants to communicate with that image.

Help improve this page

Page status: No known problems

You can: