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 captions to match body font family #229

Closed
chrislachance opened this issue Oct 28, 2021 · 2 comments
Closed

Video captions to match body font family #229

chrislachance opened this issue Oct 28, 2021 · 2 comments

Comments

@chrislachance
Copy link

chrislachance commented Oct 28, 2021

By default, web captions use a sans-serif font (which is industry standard).
::cue{font:inherit} will allow captions to inherit the default base font settings instead, normalizing the typeface to expected brand readability defaults.

@chrislachance
Copy link
Author

Need to do more exploration here. Only Firefox respects this. MacOS Safari & Chromium ignore 'inherit'.

@chrislachance
Copy link
Author

chrislachance commented Oct 28, 2021

The only way to make this uniform is to set ::cue to a specific font value, which probably should be set along with :root. This will need to be a manual dev/designer choice.

All browsers besides Firefox break the spec and ignore 'inherit'.

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

No branches or pull requests

1 participant