Skip to content

<img> with empty alt but a name should have a role of img #1757

@Jym77

Description

@Jym77

As per recent change in HTML AAM / ARIA in HTML, images with an empty alt but another naming mechanism get a role of img, not presentation.

  • This works both for aria-label(ledby) and title, the other ways of naming images.
  • TODO: check when these are empty whether UA still default to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language supportRelated to unsupported features in HTML/CSS/ARIA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions