Please sign in to comment.
Windows 10/Action Center: announce item status messages for brightnes…
…s, focus assist and others, as well as reclassify brightness control as a button (#8954) * UIA handler: add item status property change event. Re #8845. Some controls raise UIA item status property change event, allowing clients to announce status changes. This is most noticeable in Windows 10's Action Center where one can change brightness and Focus Assist (quiet hours) where toggling these controls will cause them to raise this event. * App modules/Shell Experience Host: copyright header edits, add top-level docstring. * Shell Experience Host: announce status changes for various Action Center controls. Re #8845. Thanks to UIA's item status property change event, status for the following will be announced when toggling them: * Brightness * Focus Assist/quiet hours Because item status property change is raised multiple times (or rather, NVDA announces status messages multiple times), have a string to hold last announced status. * Shell Experience Host: Brightness button is now a plain button, not a toggle button. Re #8845. Brightness button is now a plain button, not a toggle button. Note that this control is now a slider in Windows 10 19H1 build 18277 and later. * Shell Experience Host/item status: clarify comment. * UIA item status: address review comments. Re #8845. Comment: make it more professional. _itemStatusMessage -> _itemStatusMessageCache for readability. * Update copyright years * Action Center/toggle button: address review comments. Re #8845. Reviewed by Mick Curran (NV Access): tweaks and changes: * An overlay class will be used to handle toggle button value change state. * Current item status cache will now be part of the new toggle button overlay class. * Action Center toggle button object: address review comment - assign cache no matter what the new value is. Re #8845. * Update what's new.
- Loading branch information...
Showing with 41 additions and 2 deletions.