- From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Aug 2017 11:06:29 +0000
- To: public-css-archive@w3.org
alexshalamov has just created a new issue for https://github.com/w3c/csswg-drafts: == [mediaqueries-5] Clarify definition and use cases for light-level feature == Spec: https://drafts.csswg.org/mediaqueries-5/#descdef-media-light-level We had a [discussion](https://github.com/w3c/ambient-light/issues/13#issuecomment-309793367) about ambient light sensor use cases, security and privacy, in particular how light-level is mapped to ambient light sensor measurements. >From the [MQ5 spec](https://drafts.csswg.org/mediaqueries-5/#descdef-media-light-level), it looks like the main use case is web content contrast adjustment / accessibility. The spec defines the light-level as: > "The light-level media feature is used to query about the ambient light-level in which the device is used" then later: > "this specification intentionally refrains from defining the three levels in terms of a measurement in lux" That sounds like light-level values are not directly mapped to ambient light (lux) values in which device is used. Would it be better to define light-level as a hint, whose values would be derived from ambient light measurements, screen brightness, screen technology, etc. Based on the hint, web page could adjust [contrast ratio](https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html#contrast-ratiodef). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1727 using your GitHub account
Received on Wednesday, 16 August 2017 11:06:31 UTC