Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 2891153002: Add screen reader markup to the Incognito icon (Closed)

Created:
3 years, 7 months ago by msramek
Modified:
3 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, arv+watch_chromium.org, pedrosimonetti+watch_chromium.org, dmazzoni
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add screen reader markup to the Incognito icon Add role="img" to indicate that the div contains an icon, and alt="" to make screen readers skip it. Adding alt texts such as "Incognito" or "Incognito icon" is not valuable, as there is a header saying "You've gone incognito" just under the icon. BUG=699400 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2891153002 Cr-Commit-Position: refs/heads/master@{#473541} Committed: https://chromium.googlesource.com/chromium/src/+/20e6606b1bb80a0c6706e61d3756ecd2f1365da3

Patch Set 1 #

Patch Set 2 : role=presentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/resources/ntp4/md_incognito_tab.html View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
msramek
Hello again, Dan! Another tiny change to the Incognito NTP, PTAL :) Thanks, Martin
3 years, 7 months ago (2017-05-18 18:33:54 UTC) #5
Dan Beam
a11y folks disagree with you about the "not valuable" part: https://bugs.chromium.org/p/chromium/issues/detail?id=693386 i don't really, but ...
3 years, 7 months ago (2017-05-18 18:41:56 UTC) #6
msramek
On 2017/05/18 18:41:56, Dan Beam wrote: > a11y folks disagree with you about the "not ...
3 years, 7 months ago (2017-05-19 09:56:57 UTC) #11
Dan Beam
fwiw, i don't know if the alt="" matters if you use role="presentation" (I think it ...
3 years, 7 months ago (2017-05-21 18:25:36 UTC) #14
msramek
Thanks. That makes sense, but due to the somewhat heuristic nature of screen readers, I'd ...
3 years, 7 months ago (2017-05-22 08:54:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2891153002/20001
3 years, 7 months ago (2017-05-22 08:55:21 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 10:24:57 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/20e6606b1bb80a0c6706e61d3756...

Powered by Google App Engine
This is Rietveld 408576698