Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Empty headings filter

No security coverage Obsolete

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.

Ask your assistant about Empty headings filter

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
Sep 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

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