Skip to content

Suggestion - role="none" - EXAMPLE 13 #2026

@giacomo-petri

Description

@giacomo-petri

Describe your concern

Example number 13 provided for the "none" role: https://w3c.github.io/aria/#example-13

In accordance with the specifications for the "img" role, img role children are intended to be presentational. Consequently, assigning the "none" role to a child image appears to be somewhat irrelevant.

It's not wrong but I'm contemplating whether it might be beneficial to relocate the child image, positioning it outside and above the <div> element with the "img" role. This adjustment could help clarify the effectiveness of the "none" role, regardless of its container. What are your thoughts on this proposed modification?

If the above makes sense I can open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions