diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-18 20:12:29 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-18 20:12:29 +0000 |
commit | 09032f2c243693f4a765f19279fa797ccbd801cb (patch) | |
tree | 91e2676ff6f92d5be6d9e45f009d4b43b9447553 /chrome/browser/accessibility | |
parent | d566da07e24f38b2edb6cf0b281f411d446434db (diff) | |
download | chromium_src-09032f2c243693f4a765f19279fa797ccbd801cb.zip chromium_src-09032f2c243693f4a765f19279fa797ccbd801cb.tar.gz chromium_src-09032f2c243693f4a765f19279fa797ccbd801cb.tar.bz2 |
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
Review URL: http://codereview.chromium.org/6469038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/accessibility')
-rw-r--r-- | chrome/browser/accessibility/accessibility_win_browsertest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/accessibility/accessibility_win_browsertest.cc b/chrome/browser/accessibility/accessibility_win_browsertest.cc index ab12925..5ad76f0 100644 --- a/chrome/browser/accessibility/accessibility_win_browsertest.cc +++ b/chrome/browser/accessibility/accessibility_win_browsertest.cc @@ -563,12 +563,10 @@ IN_PROC_BROWSER_TEST_F(AccessibilityWinBrowserTest, NotificationType::RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED); // Check the browser's copy of the renderer accessibility tree. - AccessibleChecker text_field_div_checker(L"", L"div", L""); AccessibleChecker text_field_checker(L"", ROLE_SYSTEM_TEXT, L"old value"); text_field_checker.SetExpectedState(STATE_SYSTEM_FOCUSABLE); AccessibleChecker body_checker(L"", L"body", L""); AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L""); - text_field_checker.AppendExpectedChild(&text_field_div_checker); body_checker.AppendExpectedChild(&text_field_checker); document_checker.AppendExpectedChild(&body_checker); document_checker.CheckAccessible(GetRendererAccessible()); |