DevTools: Service Worker URLs are not read by screen readers
When a screen reader user is tabbing through the registered service workers, the screen reader fails to announce the origins from which the service workers are registered. By default, the reader just announces "Update", as the Update button is the first focusable element within each individual Service Worker view. This change adds a new API to ReportView.Section. Because Section is a generic control which may not always follow this paradigm, the new API seems to be the best choice for how to implement. The API is opt-in by call sites as demonstrated by this use of it. The API sets the role="group" on the containing element, and applies a label to the containing element. Upon focus entering the containing element, the full title is read aloud. "After" screencap: https://imgur.com/a/XfMg2SA Bug: 963183 Change-Id: I5ef631d24d9f2df9f610a21c84fd5a9d6ae26b48 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864721Reviewed-by:Lorne Mitchell <lomitch@microsoft.com> Commit-Queue: Robert Paveza <Rob.Paveza@microsoft.com> Cr-Commit-Position: refs/heads/master@{#706688}
Showing
Please register or sign in to comment