Skip to content

Consider early re-add of role=text #870

Closed
@kensgists

Description

@kensgists

It looks like there was prior agreement to move role="text" to ARIA 2.0.

I cannot find the rationale for that removal, but there is at least one implementation in the wild (Safari iOS) which has the effect of flattening out sub-elements within a container, so that VoiceOver will not treat sub-elements as swipe-stops during navigation.

That is, if you do this:
<span role=text>Some text<span> and some more text</span></span>

then VoiceOver will read it in one swipe, without hitching on the second span. That is, it will read:

"Some text and some more text" in stead of

"Some text" [pause for another swipe] "some more text"

It is helpful to have this ability to intentionally override odd reading by the screen reader (bracketing whether or not the screen reader should be doing hitched this reading of simple, non-semantic sub-elements).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions