Welcome Check Web

Semantics · WCAG 2.0 Level A

Styled <p> elements must not be used as headings

Ensure bold, italic text and font-size is not used to style <p> elements as a heading.

What it means

The p-as-heading rule flags elements that fail this check. It maps to WCAG success criterion 1.3.1.

Who it affects

Screen reader and voice control users who rely on visible labels matching the code.

How to fix it

Use real headings for headings, and make sure an accessible name contains the visible label text.

Check it on your site

Run a free scan. If this rule fails, the results list the affected elements. Deque, which maintains axe-core, also documents this rule in detail: Deque University: p-as-heading.

Quick answers

What does the axe rule "p-as-heading" check?

Ensure bold, italic text and font-size is not used to style <p> elements as a heading.

How do I fix "Styled <p> elements must not be used as headings"?

Use real headings for headings, and make sure an accessible name contains the visible label text.

Who is affected by p-as-heading failures?

Screen reader and voice control users who rely on visible labels matching the code.

Automated accessibility scan. Results are informational and may not identify every accessibility issue. This service is not legal advice, a compliance certification, or a substitute for comprehensive manual accessibility testing.