Skip to content

img element says role=img should not be used #228

@dd8

Description

@dd8

Given the long-standing problem with VoiceOver / Safari which requires role=img on img elements this is potentially harmful.

For example, validator.w3.org/nu warns about this:

<img src='file.svg' alt='Image description' role='img' >

Fixing the warning makes the image less accessible to VO users.

Yes, VoiceOver / Safari shouldn't be doing this, but it has for at least 3 years and Apple seem resistant to changing this.

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