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

Issue 2479593007: Expose images to accessibility (Closed)

Created:
4 years, 1 month ago by David Tseng
Modified:
4 years, 1 month ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, haraken, nektarios, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, blink-reviews, dmazzoni, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose images to accessibility Blink has some loose heuristics to ignore images, even ones that are important for interaction. Specifically, web authors do use horizontal images (i.e. 1d images) to convey information to screen readers that is not purely presentational. At the very least, it should be up to each client to make an intelligent determination. This cl also adds missing graphics predicates and key bindings to ChromeVox. BUG=641848 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/32e424c9defb30fdf056cc48f1c90451f8c6c2a9 Cr-Commit-Position: refs/heads/master@{#430199}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleanup #

Patch Set 3 : Rebaseline #

Patch Set 4 : Android as well #

Patch Set 5 : Blink test fixes #

Patch Set 6 : A few more tests rebaselined. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -68 lines) Patch
M chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/next_keymap.json View 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js View 1 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 2 chunks +17 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/img-empty-alt-expected-blink.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/accessibility/html/img-empty-alt-expected-mac.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/accessibility/html/img-expected-android.txt View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M content/test/data/accessibility/html/img-expected-mac.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/img-expected-win.txt View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/img-alt-tag-only-whitespace.html View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/img-alt-tag-only-whitespace-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title.html View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/img-fallsback-to-title-expected.txt View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt View 1 2 1 chunk +34 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 chunk +1 line, -45 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
David Tseng
4 years, 1 month ago (2016-11-04 18:14:52 UTC) #4
dmazzoni
lgtm This sounds good to me If there are some images we should ignore on ...
4 years, 1 month ago (2016-11-04 18:34:05 UTC) #8
dmazzoni
https://codereview.chromium.org/2479593007/diff/1/chrome/browser/resources/chromeos/chromevox/common/dom_util.js File chrome/browser/resources/chromeos/chromevox/common/dom_util.js (right): https://codereview.chromium.org/2479593007/diff/1/chrome/browser/resources/chromeos/chromevox/common/dom_util.js#newcode926 chrome/browser/resources/chromeos/chromevox/common/dom_util.js:926: text = 'alt'; i'm assuming this is debugging code? ...
4 years, 1 month ago (2016-11-04 18:36:07 UTC) #9
David Tseng
On 2016/11/04 18:36:07, dmazzoni wrote: > https://codereview.chromium.org/2479593007/diff/1/chrome/browser/resources/chromeos/chromevox/common/dom_util.js > File chrome/browser/resources/chromeos/chromevox/common/dom_util.js (right): > > https://codereview.chromium.org/2479593007/diff/1/chrome/browser/resources/chromeos/chromevox/common/dom_util.js#newcode926 > ...
4 years, 1 month ago (2016-11-04 18:49:05 UTC) #10
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/2479593007/20001
4 years, 1 month ago (2016-11-04 18:49:53 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/255008)
4 years, 1 month ago (2016-11-04 19:24:17 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/2479593007/80001
4 years, 1 month ago (2016-11-06 17:48:42 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/175285)
4 years, 1 month ago (2016-11-06 19:20:37 UTC) #30
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/2479593007/100001
4 years, 1 month ago (2016-11-06 20:05:07 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/332011)
4 years, 1 month ago (2016-11-06 22:07:46 UTC) #35
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/2479593007/100001
4 years, 1 month ago (2016-11-06 22:14:56 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-06 23:33:00 UTC) #39
commit-bot: I haz the power
4 years, 1 month ago (2016-11-06 23:36:35 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/32e424c9defb30fdf056cc48f1c90451f8c6c2a9
Cr-Commit-Position: refs/heads/master@{#430199}

Powered by Google App Engine
This is Rietveld 408576698