Skip to content

Images with "whitespace alt" are now decorative [23a2a8] #2412

Description

@Jym77

In w3c/aria#2706, the HTML AAM changed to make "whitespace alt" images decorative.

That is, <img src="foo.jpg" alt=" " /> used to be an image with an empty accessible name and is now a decorative image (role of none). See the latest published version.

This obviously affects Failed example 4 of "Image has non-empty accessible name", which is pretty much that case and should now be a Passed example. It seems other rules do not have that as a direct example, but we may nonetheless want to update our definition of "marked as decorative", and/or some of the background notes that mention "empty alt" here and there.

It seems that neither Chrome nor Firefox have followed suite yet.

Keep an eye on w3c/html-aam#605.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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