- From: James Craig via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Mar 2023 05:23:52 +0000
- To: public-css-archive@w3.org
cookiecrook has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-mediaqueries] consider prefers-reduced-strobing == Earlier today, Apple released a [new strobing mitigation media accessibility accommodation in tvOS 16.4, iOS 16.4, and macOS 13.3, called "Dim Flashing Lights."](https://developer.apple.com/accessibility/#whats-new) (Additional links below) Prior to this, the typical behavior with flashing media was that a viewer was warned *once* before before a video played. Even in a feature length film, there was no indication of when the flashing may occur, and no information about the intensity or type of strobing. On Apple devices, we can now adjust for some strobing/flashing in real time with onboard hardware and software, but as Apple's TV+ content is viewable on many other platforms, we'd also like to be able to do this on non-Apple hardware. Earlier tonight I [proposed using a VTT metadata track to denote flashing](https://github.com/w3c/webvtt/issues/512) in a video, such as a nightclub scene in a movie. For CSS, we think this makes sense as the following [User Preference Media Feature](https://drafts.csswg.org/mediaqueries-5/#mf-user-preferences): > 11.x. Detecting the desire to minimize strobing or flashing in page media and animations: the prefers-reduced-strobing feature ``` Name: prefers-reduced-strobing For: @media Type: discrete Value: no-preference | reduce // open syntax for more granular value expansion if needed: // reduce-general-flash, reduce-red-flash, reduce-spatial-pattern, etc. ``` > The prefers-reduced-strobing media feature is used to detect if the user has requested the system minimize the amount of strobing or flashing effect in video or animation. > > no-preference: Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context. > > reduce: Indicates that user has notified the system that they prefer media and interfaces that remove or replace the types of strobing and flashing that can trigger seizures or discomfort for those with photosensitive epilepsy or other types of photosensitivity. There is no proposal for further granularity than the values: no-preference (default), and reduce (user preference to reduce strobing is enabled), but the syntax is open-ended in case other values are deemed necessary. ### Note on Fingerprinting This proposed media feature and others are subject to changes based on the outcome of https://github.com/WebKit/standards-positions/issues/145 and other related privacy issues. We debated not proposing this until after privacy issues with `@media`/`matchMedia()` had been resolved, but decided to propose it here anyway to further the discussion. ### Related VTT Issue: - https://github.com/w3c/webvtt/issues/512 ### Other documentation on the recently released feature - [Dim Flashing Lights Overview](https://developer.apple.com/accessibility/#whats-new) - [Explainer and Algorithms (PDF)](https://developer.apple.com/accessibility/downloads/Video-Flashing-Reduction-12.pdf) - [Sample Code: Responding to changes in the flashing lights setting](https://developer.apple.com/documentation/mediaaccessibility/flashing_lights/responding_to_changes_in_the_flashing_lights_setting) - [GitHub Sample Code: Detection of flashing lights in video content](https://github.com/apple/VideoFlashingReduction/) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8651 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 March 2023 05:23:54 UTC