• Aaron Leventhal's avatar
    Default navigation in VoiceOver includes only visible elements · 763fd8b4
    Aaron Leventhal authored
    Navigation with the VO cursor should not visit hidden elements.
    This had regressed because we started including hidden elements
    in the accessible object hierarchy on purpose, so that when
    a page accidentally overused aria-hidden, that users would
    still hear something useful when tabbing to focusable items.
    With this CL, users will not generally be able to accidentally
    navigate to aria-hidden items, but if they manage to actually
    focus one with the keyboard, it will still announce what it is.
    
    Bug: 982408
    Change-Id: I19d5fe4947e5fb1c7493f0e67d7fe8e13d9a255e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761717Reviewed-by: default avatarAlice Boxhall <aboxhall@chromium.org>
    Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#689677}
    763fd8b4
browser_accessibility_cocoa.mm 129 KB