Support aria-activedescendant in comboboxes on Mac with VoiceOver.
Mac's accessibility API doesn't have a way for us to expose the active descendant of a control. For something like a list box or grid, we just pretend that the active descendant is actually focused and that basically works. For a combobox, we need VoiceOver to announce the selected option while keeping focus on the text box. Fix this by exposing the AXOwns relationship, which VoiceOver uses to find a list box owned by a combo box. Rather than plumbing through aria-owns, instead we just expose the parent of the activeDescendant target. That way things just work if the author uses aria-activedescendant correctly even if they forget aria-owns. Also implements AXHasPopup to match Safari. Bug: 829945 Change-Id: I7f670ecb8af1056e14e889d31aa52a9917719964 Reviewed-on: https://chromium-review.googlesource.com/999958 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#549286}
Showing
Please register or sign in to comment