I have put some HTML code I've written into WAVE, the online accessibility checker tool (https://wave.webaim.org). My code passes without any warnings apart from one "Alert" I keep getting on a video element.
The warning says:
A
<video>or<audio>element is present.
And then gives a tip on what to do:
What To Do For video content with audio, ensure that synchronized captioning and a transcript is provided. For audio-only content, ensure that a transcript is provided.
I have checked my code and I don't think I am missing any attributes or doing anything that should make the alert appear and I have provided a transcript like it's suggested.
Here is my code:
<video controls="" width="250">
<source src="#" type="video/webm">
<source src="#" type="video/mp4">
<track kind="captions" srclang="en" src="./ask_my_dev_transcript.vtt" default>
<track kind="subtitles" srclang="en" src="./ask_my_dev_transcript.vtt">
Sorry, your browser doesn't support embedded videos.
</video>
Is there anything further I can be doing to ensure accessibility with regards to the alert or is this just something WAVE is alerting me of for visibility (i.e. the video transcript will need checking manually)?