Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles

Rule ID: aria-dpub-role-fallback
Ruleset: axe-core 4.1
User Impact: Moderate
Guidelines: WCAG 2.1 (A), WCAG 2.0 (A)

Start building more accessible experiences

Axe DevTools Pro helps dev teams find and fix up to 80% of accessibility issues while coding. No experience required. Get started with your free trial today.

Compliance Data & Impact

User Impact

Moderate
Minor
Critical

Disabilities Affected

  • Blind
  • Low Vision
  • Deafblind

Standard(s)

  • WCAG 2.1 (A)
  • WCAG 2.0 (A)

WCAG Success Criteria [WCAG 2.1 (A)]

  • 1.3.1: SHOULD: Info and Relationships

WCAG Success Criteria [WCAG 2.0 (A)]

  • 1.3.1: SHOULD: Info and Relationships

How to Fix the Problem

Ensure all unsupported DPUB roles are only used on elements with implicit fallback roles.

Supported ARIA DPUB roles are to be applied to Sectioning Content, Grouping Content, Heading Content, Phrasing Content, <aside> and <body> elements where required with appropriate associated epub:type structural semantics values.

For related information about DPUB roles, see W3 DPUB-ARIA 1.0 Roles.

Why it Matters

When a Digital Publishing Role that is not supported is conveyed via a role attribute value, semantic information can only be conveyed to screen reader users via native HTML elements that have similar semantics for fallback.

Proposed or recommended specifications such as WAI-ARIA DPUB roles are subject to becoming obsolete or remaining preliminary prototypes when not supported.

When there is no fallback role specified, assistive technologies such as screen readers may not be able to convey missing semantic and interaction information intended by the author to users.

Rule Description

When a Digital Publishing Role that is not supported is conveyed via a role attribute value, semantic information can only be conveyed to screen reader users via native HTML elements that have similar semantics for fallback.

The Algorithm (in simple terms)

Finds elements with one of the targeted DPUB roles that does not have an implicit fallback role.

Resources

Other Resources

You may also want to check out these other resources.

Refer to the complete list of axe 4.1 rules.

Was this information helpful?

You have already given your feedback, thank you..

Your response was as follows:

Was this information helpful?
Date/Time feedback was submitted: