eslint-plugin-vue-a11y
eslint-plugin-vue-a11y copied to clipboard
can't detect track in video elements
I have a track in my video element and the captions work well, but it is not being detected by the linter
your code ? @goatandsheep
<video
:ref="id"
class="video-js vjs-default-skin"
>
<track
:src="track"
>
</video>
eslint(vue-a11y/media-has-caption): Media elements such as <audio> and <video> must have a <track> for captions.
The track element must be present for each HTML5 audio element, with kind="captions" set as a property. detail @goatandsheep you should add kind="captions" for track element