Elements with the role=text attribute do not have focusable descendents

Adding `role=text` around a text node split by markup enables VoiceOver to treat it as one phrase, but the element's focusable descendents will not be announced.

Indicators

Impact

(How ScanGov measures tasklist priorities.)

About

Adding role=text around a text node split by markup enables VoiceOver to treat it as one phrase, but the element's focusable descendents will not be announced.

Why it's important

Ensures assistive technologies like screen readers can correctly interpret and announce page elements to users with disabilities.

User stories

As a screen reader user, I want ARIA attributes to be correctly implemented so that I can understand the purpose and state of interactive elements.

Error

(ScanGov messaging when a site fails a standard)

Failed: Elements with the role=text attribute do not have focusable descendents

Guidance

Get ScanGov