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

Issue 6469038: Quick fix for problems with editable text field accessibility by not sending... (Closed)

Created:
9 years, 10 months ago by dmazzoni
Modified:
9 years, 7 months ago
Reviewers:
Chris Guillory
CC:
chromium-reviews, darin-cc_chromium.org, David Tseng
Visibility:
Public.

Description

Quick fix for problems with editable text field accessibility by not sending children of text fields from the renderer to the browser. The child containing the text appeared to be redundant anyway. BUG=none TEST=updated unit test, manual testing with screen readers Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75416

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M chrome/browser/accessibility/accessibility_win_browsertest.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/glue/webaccessibility.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
dmazzoni
9 years, 10 months ago (2011-02-18 00:49:52 UTC) #1
Chris Guillory
9 years, 10 months ago (2011-02-18 01:43:17 UTC) #2
LGTM. I think this might break some accessibility tests. Looks like the child
node could specify different text than its parent text field. Perhaps we should
prune the child nodes of the editable text fields for the Chrome accessibility
tree?

http://codereview.chromium.org/6469038/diff/1/webkit/glue/webaccessibility.cc
File webkit/glue/webaccessibility.cc (right):

http://codereview.chromium.org/6469038/diff/1/webkit/glue/webaccessibility.cc...
webkit/glue/webaccessibility.cc:383: if (role ==
WebAccessibility::ROLE_EDITABLE_TEXT ||
Nit: Add comment explaining why we shouldn't include children.

Powered by Google App Engine
This is Rietveld 408576698