Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<video> elements must have captions #16244

Open
clever-rob opened this issue Nov 8, 2024 · 5 comments
Open

<video> elements must have captions #16244

clever-rob opened this issue Nov 8, 2024 · 5 comments

Comments

@clever-rob
Copy link

Lighthouse complains about a video element without "captions" track.
I think that this rule is a bit overblown, there are many cases where a captions track cannot and must not be provided.
My case is a QR code scan situation where is no way and reason to provide a captions track.

On a general note, I believe that Lighthouse is "the" tool for web developers, but I wish it does not become
a tick box exercise caused by all this weird and superfluous rules.

@adamraine
Copy link
Member

https://dequeuniversity.com/rules/axe/4.10/video-caption

This caption advice is marked as critical because deaf users will have limited understanding of the content without captions. Are you saying that this shouldn't apply in your case since your video has no audio?

@clever-rob
Copy link
Author

Yes, it is a QR code scan. There is no way that captions should be applied in this situation.

@clever-rob
Copy link
Author

Also, the same would apply for any other live video. No captions track in this case either

@adamraine
Copy link
Member

I forwarded this question to axe-core: dequelabs/axe-core#4638

@adamraine
Copy link
Member

Axe folks said that videos without captions just need a manual review. So you do not need to add captions.

Lighthouse handles this by making the audit informative, which means the audit also doesn't affect the overall accessibility score. There may be ways to clarify this, but otherwise it should be working as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants