Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows 10 Action Center: Brightness percentage not reported for brightness quick action #8845
Steps to reproduce:
NVDA Installed/portable/running from source:
Version 1809 (OS Build 17763.55)
Even though Windows reports this as a toggle button, it isn't. The toggle state is always off. Narrator behaves as such too.
The percentage is exposed via the ItemStatus UIA property. IMO, this is inda weird, but at least it's exposed.
Because of the weirdness of this control, I'd suggest that rather than generically supporting ItemStatus as value for toggle buttons, we should just do it for this control (or at least this app). If we do it specifically for this control, we could also map it to button instead of toggle button, which is probably less confusing.
Relevant dev info for the control:
referenced this issue
Oct 15, 2018
Note that this is also applicable to Focus Assist toggle state changes.
Technical: one way to implement this is through a combination of runtime object property coercion (event_NVDAObject_init) and state change events.
I'll introduce a proof of concept implementation in Windows 10 App Essentials in the next 30 minutes.