W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2022

Re: [screen-wake-lock] Control screen brightness 🔆 review feedback (#335)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 May 2022 17:11:17 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-1133133517-1653066675-sysbot+gh@w3.org>
Discussing this proposal internally a question I'd like to see answered by the explainer is how implementations should ensure the user retains control over their screen brightness. With the Screen Wake Lock API the user can turn their screen off but a site can re-acquire the wake lock when the screen is turned back on again. If the same were allowed for screen brightness the user could get stuck in an unbreakable cycle of being blinded by their phone. We probably need something like the user gesture requirement to prevent that.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/335#issuecomment-1133133517 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 May 2022 17:11:18 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:59 UTC