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

Issue 1821723002: Exposed the children of elements with role textbox in order to make rich text information available… (Closed)

Created:
4 years, 9 months ago by nektarios
Modified:
4 years, 8 months ago
Reviewers:
dmazzoni
CC:
nektarios, aboxhall, aboxhall+watch_chromium.org, blink-reviews, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dmazzoni, dtseng+watch_chromium.org, jam, je_julie, nektar+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Exposed the children of elements with role textbox in order to make rich text information available to Windows screen readers. If we have an HTML element with role="textbox" we correctly assign it an IA role of ROLE_SYSTEM_TEXT. This is the same as what FireFox does. However, contrary to an <input> or <textarea> element, we should expose its children so that any rich text information would be available to Windows screen readers. Note that we also keep exposing a flatten representation of the children's text in the value attribute because Jaws and older versions of VoiceOver require it. BUG=542998 TESTED:browser tests, Blink layout tests, manually with Jaws and NVDA with <input>, content editable and content editable with role="textbox" R=dmazzoni@chromium.org Committed: https://crrev.com/9a702688af0b856d52e96f1ce9b5346714ce8985 Cr-Commit-Position: refs/heads/master@{#382526} Committed: https://crrev.com/b891708b42ec5219d0c15f9e93b62b477116be10 Cr-Commit-Position: refs/heads/master@{#383565}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added browser test. #

Patch Set 3 : Fixed test expectations on Windows. #

Patch Set 4 : Fixed test expectations. #

Patch Set 5 : Updated test expectations for Android. #

Patch Set 6 : Disabled Android test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -23 lines) Patch
M content/browser/accessibility/browser_accessibility.cc View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
A + content/test/data/accessibility/aria/aria-textbox-with-rich-text.html View 1 2 1 chunk +10 lines, -4 lines 0 comments Download
A + content/test/data/accessibility/aria/aria-textbox-with-rich-text-expected-android.txt View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/aria/aria-textbox-with-rich-text-expected-mac.txt View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/aria/aria-textbox-with-rich-text-expected-win.txt View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/is-richly-editable.html View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/is-richly-editable-expected.txt View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (14 generated)
nektarios
4 years, 9 months ago (2016-03-21 16:54:40 UTC) #1
dmazzoni
Might need to update some tests, but otherwise lgtm https://codereview.chromium.org/1821723002/diff/1/content/browser/accessibility/browser_accessibility.cc File content/browser/accessibility/browser_accessibility.cc (right): https://codereview.chromium.org/1821723002/diff/1/content/browser/accessibility/browser_accessibility.cc#newcode456 content/browser/accessibility/browser_accessibility.cc:456: ...
4 years, 9 months ago (2016-03-21 17:04:02 UTC) #2
blink-reviews
Might need to update some tests, but otherwise lgtm > > I added a new ...
4 years, 9 months ago (2016-03-21 17:35:15 UTC) #3
chromium-reviews
Might need to update some tests, but otherwise lgtm > > I added a new ...
4 years, 9 months ago (2016-03-21 17:35:16 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821723002/20001
4 years, 9 months ago (2016-03-21 19:26:20 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/185437)
4 years, 9 months ago (2016-03-21 20:17:50 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821723002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821723002/40001
4 years, 9 months ago (2016-03-22 00:13:43 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/19875)
4 years, 9 months ago (2016-03-22 01:16:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821723002/60001
4 years, 9 months ago (2016-03-22 05:31:31 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 07:34:30 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/9a702688af0b856d52e96f1ce9b5346714ce8985 Cr-Commit-Position: refs/heads/master@{#382526}
4 years, 9 months ago (2016-03-22 07:36:05 UTC) #19
blundell
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1823053002/ by blundell@chromium.org. ...
4 years, 9 months ago (2016-03-22 10:48:29 UTC) #20
newt (away)
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1825733002/ by newt@chromium.org. ...
4 years, 9 months ago (2016-03-23 02:31:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821723002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821723002/80001
4 years, 9 months ago (2016-03-23 07:23:49 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/42338)
4 years, 9 months ago (2016-03-23 09:52:36 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821723002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821723002/100001
4 years, 8 months ago (2016-03-28 18:30:32 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-03-28 21:21:18 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-03-28 21:22:26 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b891708b42ec5219d0c15f9e93b62b477116be10
Cr-Commit-Position: refs/heads/master@{#383565}

Powered by Google App Engine
This is Rietveld 408576698