Skip to content

[feature request]: Allow aria-label to suppress template-accessibility-alt-text violation #976

Description

@ModestosV

I am facing a use case where I do not want to specify an empty or non-empty alt text on an image element. However, I still want to provide an aria-label for assistive technologies.

Would it be possible for template-accessibility-alt-text to consider aria-label to be an acceptable alternative (either by default or as a rule option)?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions