Welcome Check Web

Names, roles and values · WCAG 2.0 Level A

Summary elements must have discernible text

Ensure summary elements have discernible text.

What it means

The summary-name rule flags elements that fail this check. It maps to WCAG success criterion 4.1.2.

Who it affects

Screen reader and voice control users, who need every control to announce a name and role.

How to fix it

Give every <summary> element text.

<details><summary>Shipping details</summary>…</details>

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: summary-name.

Quick answers

What does the axe rule "summary-name" check?

Ensure summary elements have discernible text.

How do I fix "Summary elements must have discernible text"?

Give every <summary> element text.

Who is affected by summary-name failures?

Screen reader and voice control users, who need every control to announce a name and role.

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.