WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: detecting caption files?

for

From: Tomlins Diane
Date: Jan 11, 2018 10:19AM


Nick,
I know for a fact that the video I was looking at has no caption file of any kind, and we all know that YT's auto-captioning is not that great.
I'm wondering if aXe called out the missing caption when the video was iframed into our page vs. looking at that same video out on YT when it did not flag it as missing the caption file.


>I know that the axe method is to look for a <video> element and see if it has child <track> elements with a "kind" attribute of "captions". >Therefore, I'm surprised it didn't detect an issue. I did a scan just now on a YouTube video with no caption and it called out "<video> elements >must have captions" appropriately. Could it be the video wasn't HTML5 <video>? Or could it be that there actually was a <track [Diane Tomlins] >kind="captions"> present but no captions were coming through on the video?

Nick Beranek

Capital One