DevTools: Fix a11y issues in Performance Monitor tool
Accessibility testing of the Performance Monitor tool revealed several issues which are addressed in this patch: - Keyboard A11y: The graph toggling UI could not be navigated or manipulated via the keyboard. This restricts keyboard-only users from interacting correctly with the tool. - The fix was to allow users to navigate through the list of MetricIndicators in the left panel using the Tab key. Also adding a keypress event listener to allow toggling each of the MetricIndicators with either the 'Enter' or 'Space' keys. - Color A11y: The UI relied solely on color differences to identify each graph. This prevents users with reduced color perception from easily using the tool. - The fix was to add a text label to each graph and improve the contrast ratio of the fill color. - Screen Reader A11y: There was no screen reader accessible information in the perf monitor tool. This prevents visually impared users from using the tool. - The fix was to add announceable text to the buttons and a description to the graph (A future improvement would be to also announce the graph values in realtime as the data comes in) Screenshot of changes for comparison: https://imgur.com/a/nUNInsl Change-Id: Iaf8d2b5bf54f91b776372ae9d4c5e182d1bd6721 Reviewed-on: https://chromium-review.googlesource.com/c/1488051 Commit-Queue: James Lissiak <jalissia@microsoft.com> Reviewed-by:Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#636154}
Showing
Please register or sign in to comment