Skip to content

form-has-label incorrectly fails when binding aria-label #25

Open
@calling

Description

@calling

Describe the bug
v-bind:aria-label should resolve errors caused by form-has-label

To Reproduce
Steps to reproduce the behavior:

  1. Enable form-has-label
  2. Create a bound input like so: <input :aria-label="test" />

Expected behavior
No error

Screenshots
Each form element must have a programmatically associated label element vue-a11y/form-has-label

Desktop (please complete the following information):

  • OS: macOS
  • Node version: v12.13.0
  • eslint-plugin-vue-a11y version: 0.0.31

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