Replies: 3 comments 3 replies
-
|
I suggest this might work well as a GitHub "discussion" rather than an issue - @gkatsev if you agree, maybe click the "Convert to discussion" button towards the bottom of the sidebar in the GitHub web UI? That would allow us to have separate threads for each question, for example. |
Beta Was this translation helpful? Give feedback.
-
|
Looks like WebVTT currently has a privacy and security considerations section. In it, under styling security, it mentions that only |
Beta Was this translation helpful? Give feedback.
-
|
There was a concern raised about system preferences and page styling conflicting: #528 (comment)
Is there any way to actually address this on the spec side outside a note saying "be careful of conflicting styles"? I guess that's also one of the reasons why the new FCC ruling talks about previewability in place. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Safari and Chrome (on macOS) read system accessibility preferences and convert the user's preferred caption settings into CSS styles. These styles are then applied to the WebVTT cues rendered by the UA. Attached are examples of Chrome and Safari rendering with various accessibility preferences set.
Firefox (on macOS, at least) does not read system accessibility preferences.
Additionally, Safari and Chrome implement WebVTT rendering within the media element Shadow DOM, which is closed, and therefore inaccessible from the rest of the page. Queries of the type
getComputedStyle(video, "::cue")fail to apply styles defined inside the Shadow DOM, which includes both system accessibility derived styles, as well as styles applied by the WebVTT file itself.Concerns have been raised in PR #520 that UAs which apply users' system accessibility preferences to WebVTT rendering may cause fingerprinting issues due to exposing those users' distinguishing preferences to web content. Safari and Chrome's implementation details are intended to prevent that exposure, but they also introduce an interop issue.
Questions:
Examples:
Default Caption Settings, Chrome Rendering, Safari Rendering:



Classic Caption Settings, Chrome Rendering, Safari Rendering:



Chrome Classic Caption Rendering:
Safari Classic Caption Rendering:
Custom Caption Settings, Chrome Rendering, Safari Rendering:



Beta Was this translation helpful? Give feedback.
All reactions