Commit Graph
4 Commits
Author SHA1 Message Date
Brian Cui 949ba8ebf4 Console Errors/Warnings and Issues Counters Accessibility Improvements
This CL updates the Console and Issues counters shown in the upper
right of DevTools next to the Settings gear icon to be more accessible.

 - The counter element has changed from a <div> to a <button> element.
   Previously, the counters were not tab accessible (see bug);
   the <button> element is tab accessible by default and makes more
   semantic sense as they open the Console and Issues panels.

 - The styling has been updated slightly to include a border and hover
   effect when focused to indicate interactivity. Previously, the only
   indication that the counters were interactive was the pointer cursor
   shown upon hover.

 - The description text (tooltip) is updated to be more clear. We have
   received reports from users regarding confusion around the meaning
   of the existing descriptions, e.g. "5 errors, 2 warnings". This text
   has been changed to explicitly state the interaction outcome, e.g.
   "Open Console to view 5 errors, 2 warnings".

 - General code refactors.

Before: https://i.imgur.com/waQPBhH.gif
After: https://i.imgur.com/zmztxvi.mp4

Bug: 1133060
Change-Id: If0cbc4f58705f3443e480498ca842d68222bc0a9
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2436646
Commit-Queue: Brian Cui <brcui@microsoft.com>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Shane Clifford <shanejc@microsoft.com>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
2020-10-01 21:39:40 +00:00
Mathias Bynens b0c1f4bce2 Fix stylelint-config-standard violations
Bug: chromium:1083142
Change-Id: I5ea4cc5d0f83e52856383ba37a47472e33eb19a2
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2204113
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Auto-Submit: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
2020-05-15 17:05:27 +00:00
Joel Einbinder 7fbe24c094 DevTools: Convert to Shadow DOM and Custom Elements v1
Bug: 685385
Change-Id: I027e84d8003b7799492211d5fcf8348cd91fd799
Reviewed-on: https://chromium-review.googlesource.com/c/1422962
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#625513}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b00e6ea1c9b4db5d743c7c204b1f63abf89e0398
2019-01-24 05:19:01 +00:00
Blink Reformat 4c46d0969f The Great Blink mv for source files, part 2.
Move and rename files.

NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
Bug: 768828
TBR=darin@chromium.org
NOTRY=true

Change-Id: I66d3b155808bc5bdbf237b80208e1e552bcf7f28
Reviewed-on: https://chromium-review.googlesource.com/1001153
Reviewed-by: Blink Reformat <blink-reformat@chromium.org>
Commit-Queue: Blink Reformat <blink-reformat@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#549061}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0aee4434a4dba42a42abaea9bfbc0cd196a63bc1
2018-04-07 15:32:37 +00:00