maranran / eslint-plugin-vue-a11y

Static AST checker for accessibility rules on elements in .vue
MIT License
161 stars 21 forks source link

vue-a11y/media-has-caption errantly fails for muted #30

Open calling opened 4 years ago

calling commented 4 years ago

Describe the bug <video muted /> should not produce an error

To Reproduce Steps to reproduce the behavior:

  1. Enable vue-a11y/media-has-caption
  2. Add <video muted />
  3. See error

Expected behavior It should not produce an error

Desktop (please complete the following information):

Additional context Workaround is to use <video :muted="true" />