UIA: SelectionItem::get_IsSelected default to return false
Fix for AXPlatformNodeWin::get_IsSelected (ISelectionItemProvider:: get_IsSelected) to return false by default if the node supports ISelectionItemProvider. Previously, we threw UIA_E_INVALIDOPERATION for node that supports ISelectionItemProvider but not explicitly marked as selected. The motivation behind this change is due to Windows Narrator announcing "No Item in View" for list items because their ISelectionItemProvider:: get_IsSelected by default returns UIA_E_INVALIDOPERATION and confuses Narrator. Bug: 844149 Change-Id: Iafc1c083dd0feb98b8d1a2d3b18c38284105e2e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810060 Commit-Queue: Victor Fei <vicfei@microsoft.com> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#698537}
Showing
This diff is collapsed.
Please register or sign in to comment