Sync VoiceOver and keyboard focus on navigation through browser frame
This change adds back method accessibilityAttributeNames that was removed as part of a migration to NSAccessibility API. Despite being deprecated, this is still called internally by AppKit, and the need for this method was found because keyboard focus and VO focus were not in sync anymore while navigating through the browser frame. This issue is due to setAccessibilityFocused not being called because accessibilityAttributeNames is the method in charge of returning the attributes supported and one of them is NSAccessibilityFocusedAttribute. The unit tests for setAccessibilityFocused are already handled in ui\views\widget\ax_native_widget_mac_unittest.mm. Original change: http://crrev.com/c/1508580 Bug: 990014 Change-Id: I505be15afae809690c5cea7599af96a7ce6ca691 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728043 Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#683473}
Showing
Please register or sign in to comment