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

Remove misleading a11y caption warning on <audio> #6054

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

geoffrich
Copy link
Member

@geoffrich geoffrich commented Mar 6, 2021

Related to #5967 . Closes #6157

This PR removes the a11y warning for missing <track kind="captions"> on audio elements.

The associated test has also been updated.

Merging this PR should not close the associated issue -- the intent of the issue was to remove the warning for audio and video, but there was some debate. Since there was clear agreement in removing the warning for audio elements, I thought to go for the quick win until consensus is reached around video captions.

Tests

  • Run the tests with npm test and lint the project with npm run lint

@benmccann benmccann merged commit 391258a into sveltejs:master Jul 2, 2021
@geoffrich geoffrich deleted the remove-track-warning branch July 2, 2021 19:04
@Conduitry
Copy link
Member

This has been released in 3.39.0 - thanks!

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

Successfully merging this pull request may close these issues.

5 participants