Skip to content

reverse bad search&replace "accessibility descendant" in presentational role inheritance #2832

Description

@pkra

From https://w3c.github.io/aria/#presentational-role-inheritance

When an explicit or inherited role of none/presentation is applied to an element with the implicit semantic of a WAI-ARIA role that has Allowed Accessibility Child Roles, in addition to the element with the explicit role of none/presentation, the user agent MUST apply an inherited role of none to any accessibility descendants that do not have an explicit role defined.

The "accessibility descendants" phrasing was introduced in bb6baf1#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051R506

I think here we mean not just child (instead of descendant) but specifically "host-language-required child element without explicit role". (This requirement would still work recursively, e.g. for table markup.)

(Via dequelabs/axe-core#5171 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    editoriala change to an example, note, spelling, grammar, or is related to publishing or the repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions