Skip to content

Anchor has content question #15

@rafaelmaiach

Description

@rafaelmaiach

Hi, I have a anchor tag that is an icon and, because of that, it has no text related to it. I've made some research and it seems we can use aria-label in scenarios like that. But, adding aria-label to the anchor tag, it still shows the error "vuejs-accessibility/anchor-has-content".

Should this rule consider a valid content, when the tag has aria-label attribute?

Thank you

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