Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Reland "Fire accessible MENU_POPUP_START when menu is created…
… on the fly"" This reverts commit 2e456a6. Reason for revert: More unexpected screen reader behavior problems. See crbug.com/1327427 and crbug.com/1327443. AX-Relnotes: Fixes some regressions in VoiceOver's presentation when ARIA's "menu" role is used in more complex UI. Bugs: 1327427, 1327443 Original change's description: > Reland "Fire accessible MENU_POPUP_START when menu is created on the fly" > > Relanding now that Gmail has changed their spelling suggestions to > no longer use menu/menuitem. That had triggered bugs in JAWS/NVDA. > The original Chrome code was actually correct. > > Original change's description: > > Fire accessible MENU_POPUP_START when menu is created on the fly > > > > AXEventGenerator::OnIgnoredChanged fires MENU_POPUP_START in addition > > to SUBTREE_CREATED for the ARIA menu role. That does not cover the case > > where the menu subtree did not already exist in the DOM, but was created > > on the fly. > > > > Fire the missing event in AXEventGenerator::OnNodeCreated, which > > should also handle the case where the new menu has ancestor elements > > also being added to the DOM. > > > > AX-Relnotes: Assistive technologies are now notified when an ARIA > > menu is created on the fly. > > Bug: 1305443, 1254875 > Change-Id: I17ba3d9154af685f2f8415232e26d0004e5aa24d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3557830 > Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> > Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> > Cr-Commit-Position: refs/heads/main@{#993034} (cherry picked from commit abc5e18) Bug: 1305443, 1254875 Change-Id: I6ea507dfb8b7664055f18f20573f04e3c51dc0ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3679742 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Auto-Submit: Joanmarie Diggs <jdiggs@igalia.com> Commit-Queue: Joanmarie Diggs <jdiggs@igalia.com> Cr-Original-Commit-Position: refs/heads/main@{#1009148} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3693146 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Prudhvikumar Bommana <pbommana@google.com> Cr-Commit-Position: refs/branch-heads/5060@{#652} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information