WebUI: cr-expand-button, improve a11y of control
As part of work to replace usages of paper-icon-button with cr-expand-button in the ChromeVox options, I found that the control needed a aria-label set when no |alt| was set. cr-expand-button was also using aria-pressed instead of aria-expanded. After testing with VoiceOver, aria-expanded provides a clearer description of the control. Here is the CL to replace paper-icon-button with cr-expand-button: https://chromium-review.googlesource.com/c/chromium/src/+/1618564 Bug: 960564 Change-Id: Ib60507ec816507ba9a6010f3bfe6d7a6a55fc116 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622705Reviewed-by:Hector Carmona <hcarmona@chromium.org> Commit-Queue: Esmael El-Moslimany <aee@chromium.org> Cr-Commit-Position: refs/heads/master@{#662228}
Showing
Please register or sign in to comment