Empty headings filter
This module converts empty heading tags (H1-H6) into paragraph tags to improve accessibility for screen readers. It helps address WCAG guideline violations caused by content editors using empty headings for visual spacing.
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.
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
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 10–11 | Initial release | Sep 25, 2025 |