DevTools: Fix accessibility issues in Sources Tool - Navigator Pane and Editor pane
Fixed the following accessibility issues in Sources Panel navigator pane and editor pane: - Problem: No way to access nodes under FileSystem and Overrides panes in the Navigator view using keyboard Fix: Fixed by autoselecting the first node in these trees, so when you tab into the div containing the tree, some node is selected, and you can use keyboard to navigate through them - Problem: Color contrast issue with lineNumbers in the editor Fix: Replace rgb(128, 128, 128) with equivalent hsl(0, 0, 50.2) and make it darker by changing lightness percentage to 46%, i.e. hsl(0, 0, 46) Added following tests: - a11y-axe-core\sources\sources-left-pane-a11y-test.js: Axe test for Sources panel Navigator pane - a11y-axe-core\sources\sources-editor-pane-a11y-test.js: Axe test for Sources panel Editor pane Images showing new colors in the Editor pane: https://imgur.com/orA26yS (dark theme) https://imgur.com/VSeTXck (light theme) Video showing selection of FileSystem contents by default https://imgur.com/l7wMKx6 Change-Id: I191d915818039455aeb7d9c6869c16b76d7ceeb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1593550Reviewed-by:Joel Einbinder <einbinder@chromium.org> Commit-Queue: Anubha Mathur <anubmat@microsoft.com> Cr-Commit-Position: refs/heads/master@{#676209}
Showing
Please register or sign in to comment