eslint-plugin-vue-a11y
eslint-plugin-vue-a11y copied to clipboard
form-has-label incorrectly fails when binding aria-label
Describe the bug
v-bind:aria-label should resolve errors caused by form-has-label
To Reproduce Steps to reproduce the behavior:
- Enable
form-has-label - 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
This seems to be addressed by https://github.com/maranran/eslint-plugin-vue-a11y/pull/21