A11y: Add application role and move focus in cr-action-menu.
Adding role="application" lets us be in control of the mode change on windows for screen readers. aria-roledescription is necessary now because we don't want to change users' expectations that this is a menu. Focus target change is necessary because focusing the application causes all its contents to be read as a label. Bug: 855123 Change-Id: If2428d875f325b55339b6ad3c14874c9e066e584 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869483Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Dan Beam <dbeam@chromium.org> Commit-Queue: Hector Carmona <hcarmona@chromium.org> Cr-Commit-Position: refs/heads/master@{#710034}
Showing
Please register or sign in to comment