Drupal is a registered trademark of Dries Buytaert

Deprecated

Use the Accessibility Filters instead.

The Empty Headings Filter module provides a text filter that automatically converts empty heading tags (H1-H6) to paragraph tags for accessibility compliance. This addresses common accessibility issues where content editors create empty headings for visual spacing, which causes problems for screen readers and violates WCAG guidelines.

Use this module when you have content editors who create empty headings 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. Add "Empty headings filter" to your enabled filters list. The filter automatically processes content during display, converting empty heading tags to paragraph tags while preserving their styling and attributes.

Activity

Total releases
1
First release
Sep 2025
Latest release
5 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Sep 25, 2025