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 Card Component – Fix the lang label #95

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

remibetin
Copy link
Member

@remibetin remibetin commented Jun 25, 2024

Fixed issue spotted in w3c/wai-people-use-web#113: in the video card component, the Captions/Subtitles language name derives from the langs variable. But this variable was not assigned any value.

Hence, "en" was displayed instead of "English".

The behaviour is correct in https://www.w3.org/WAI/test-evaluate/ because a "video-player-data" component (that initializes this variable) is used before the video card components.


This PR also updates the Video Card Design Component example, to use a correctly formatted WebVTT file.

Copy link

netlify bot commented Jun 25, 2024

Deploy Preview for wai-website-theme ready!

Name Link
🔨 Latest commit 4be395a
🔍 Latest deploy log https://app.netlify.com/sites/wai-website-theme/deploys/667a951695ba0a00086137e2
😎 Deploy Preview https://deploy-preview-95--wai-website-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@remibetin remibetin merged commit 093e6f2 into master Jun 25, 2024
5 checks passed
@remibetin remibetin deleted the video-card branch June 25, 2024 10:14
@remibetin remibetin added the bug Something isn't working label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant