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

Unified Diff: webkit/glue/webaccessibility.cc

Issue 6469038: Quick fix for problems with editable text field accessibility by not sending... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/accessibility/accessibility_win_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webaccessibility.cc
===================================================================
--- webkit/glue/webaccessibility.cc (revision 75254)
+++ webkit/glue/webaccessibility.cc (working copy)
@@ -380,6 +380,12 @@
// Add the source object to the cache and store its id.
id = cache->addOrGetId(src);
+ if (role == WebAccessibility::ROLE_EDITABLE_TEXT ||
+ role == WebAccessibility::ROLE_TEXTAREA ||
+ role == WebAccessibility::ROLE_TEXT_FIELD) {
+ include_children = false;
+ }
+
if (include_children) {
// Recursively create children.
int child_count = src.childCount();
« no previous file with comments | « chrome/browser/accessibility/accessibility_win_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698