Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Accessibility Filters

No security coverage Maintenance fixes only

This module automatically removes or converts empty HTML elements like headings and links to improve accessibility. It helps prevent issues for screen readers and ensures WCAG compliance by cleaning up content created by editors.

The Accessibility Filters module provides text filters that automatically remove empty elements for accessibility compliance. This addresses common accessibility issues where content editors create empty headings or links, which causes problems for screen readers and violates WCAG guidelines.

The module includes two filters:

  • Empty Headings Filter: Converts empty heading tags (H1-H6) to paragraph tags, preserving styling while fixing semantic issues.
  • Empty Links Filter: Completely removes empty anchor tags that serve no purpose.

Use this module when you have content editors who create empty elements for spacing, or when migrating content that contains accessibility violations.

Usage

After installation, go to Configuration > Content authoring > Text formats and editors and edit your desired text format. Enable one or both filters from the enabled filters list. The filters automatically process content during display.

Ask your assistant about Accessibility Filters

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Oct 2025
Latest release
11 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Oct 20, 2025