1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
9 #include "base/command_line.h"
10 #include "base/path_service.h"
11 #include "base/strings/string16.h"
12 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h"
14 #include "content/browser/accessibility/accessibility_tree_formatter.h"
15 #include "content/browser/accessibility/browser_accessibility.h"
16 #include "content/browser/accessibility/browser_accessibility_manager.h"
17 #include "content/browser/accessibility/dump_accessibility_browsertest_base.h"
18 #include "content/browser/web_contents/web_contents_impl.h"
19 #include "content/public/browser/web_contents.h"
20 #include "content/public/common/content_paths.h"
21 #include "content/public/common/content_switches.h"
22 #include "content/shell/browser/shell.h"
23 #include "content/test/accessibility_browser_test_utils.h"
25 #if defined(OS_MACOSX)
26 #include "base/mac/mac_util.h"
29 // TODO(aboxhall): Create expectations on Android for these
30 #if defined(OS_ANDROID)
31 #define MAYBE(x) DISABLED_##x
38 typedef AccessibilityTreeFormatter::Filter Filter
;
40 // This test takes a snapshot of the platform BrowserAccessibility tree and
41 // tests it against an expected baseline.
43 // The flow of the test is as outlined below.
44 // 1. Load an html file from content/test/data/accessibility.
45 // 2. Read the expectation.
46 // 3. Browse to the page and serialize the platform specific tree into a human
48 // 4. Perform a comparison between actual and expected and fail if they do not
50 class DumpAccessibilityTreeTest
: public DumpAccessibilityTestBase
{
52 void AddDefaultFilters(std::vector
<Filter
>* filters
) override
{
53 filters
->push_back(Filter(base::ASCIIToUTF16("FOCUSABLE"), Filter::ALLOW
));
54 filters
->push_back(Filter(base::ASCIIToUTF16("READONLY"), Filter::ALLOW
));
55 filters
->push_back(Filter(base::ASCIIToUTF16("name*"), Filter::ALLOW
));
56 filters
->push_back(Filter(base::ASCIIToUTF16("*=''"), Filter::DENY
));
59 void SetUpCommandLine(base::CommandLine
* command_line
) override
{
60 ContentBrowserTest::SetUpCommandLine(command_line
);
61 // Enable <dialog>, which is used in some tests.
62 base::CommandLine::ForCurrentProcess()->AppendSwitch(
63 switches::kEnableExperimentalWebPlatformFeatures
);
66 void RunAriaTest(const base::FilePath::CharType
* file_path
) {
67 base::FilePath dir_test_data
;
68 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA
, &dir_test_data
));
69 base::FilePath
test_path(dir_test_data
.AppendASCII("accessibility")
70 .AppendASCII("aria"));
71 ASSERT_TRUE(base::PathExists(test_path
)) << test_path
.LossyDisplayName();
73 base::FilePath aria_file
= test_path
.Append(base::FilePath(file_path
));
74 RunTest(aria_file
, "accessibility/aria");
77 void RunHtmlTest(const base::FilePath::CharType
* file_path
) {
78 base::FilePath dir_test_data
;
79 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA
, &dir_test_data
));
80 base::FilePath
test_path(dir_test_data
.AppendASCII("accessibility")
81 .AppendASCII("html"));
82 ASSERT_TRUE(base::PathExists(test_path
)) << test_path
.LossyDisplayName();
84 base::FilePath html_file
= test_path
.Append(base::FilePath(file_path
));
85 RunTest(html_file
, "accessibility/html");
88 std::vector
<std::string
> Dump() override
{
89 WebContentsImpl
* web_contents
= static_cast<WebContentsImpl
*>(
90 shell()->web_contents());
91 AccessibilityTreeFormatter
formatter(
92 web_contents
->GetRootBrowserAccessibilityManager()->GetRoot());
93 formatter
.SetFilters(filters_
);
94 base::string16 actual_contents_utf16
;
95 formatter
.FormatAccessibilityTree(&actual_contents_utf16
);
96 std::string actual_contents
= base::UTF16ToUTF8(actual_contents_utf16
);
97 std::vector
<std::string
> actual_lines
;
98 Tokenize(actual_contents
, "\n", &actual_lines
);
103 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityA
) {
104 RunHtmlTest(FILE_PATH_LITERAL("a.html"));
107 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAbbr
) {
108 RunHtmlTest(FILE_PATH_LITERAL("abbr.html"));
111 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAddress
) {
112 RunHtmlTest(FILE_PATH_LITERAL("address.html"));
115 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityArea
) {
116 RunHtmlTest(FILE_PATH_LITERAL("area.html"));
119 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAName
) {
120 RunHtmlTest(FILE_PATH_LITERAL("a-name.html"));
123 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityANameCalc
) {
124 RunHtmlTest(FILE_PATH_LITERAL("a-name-calc.html"));
127 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityANoText
) {
128 RunHtmlTest(FILE_PATH_LITERAL("a-no-text.html"));
131 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAOnclick
) {
132 RunHtmlTest(FILE_PATH_LITERAL("a-onclick.html"));
135 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
136 AccessibilityAriaActivedescendant
) {
137 RunAriaTest(FILE_PATH_LITERAL("aria-activedescendant.html"));
140 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaAlert
) {
141 RunAriaTest(FILE_PATH_LITERAL("aria-alert.html"));
144 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
145 AccessibilityAriaAlertDialog
) {
146 RunAriaTest(FILE_PATH_LITERAL("aria-alertdialog.html"));
149 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
150 AccessibilityAriaApplication
) {
151 RunAriaTest(FILE_PATH_LITERAL("aria-application.html"));
154 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaArticle
) {
155 RunAriaTest(FILE_PATH_LITERAL("aria-article.html"));
158 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaAtomic
) {
159 RunAriaTest(FILE_PATH_LITERAL("aria-atomic.html"));
162 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
163 AccessibilityAriaAutocomplete
) {
164 RunAriaTest(FILE_PATH_LITERAL("aria-autocomplete.html"));
167 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaBanner
) {
168 RunAriaTest(FILE_PATH_LITERAL("aria-banner.html"));
171 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaBusy
) {
172 RunAriaTest(FILE_PATH_LITERAL("aria-busy.html"));
175 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaButton
) {
176 RunAriaTest(FILE_PATH_LITERAL("aria-button.html"));
179 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaCheckBox
) {
180 RunAriaTest(FILE_PATH_LITERAL("aria-checkbox.html"));
183 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaChecked
) {
184 RunAriaTest(FILE_PATH_LITERAL("aria-checked.html"));
187 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
188 AccessibilityAriaColumnHeader
) {
189 RunAriaTest(FILE_PATH_LITERAL("aria-columnheader.html"));
192 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
193 // Re-baseline after the Blink change goes in
194 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
195 DISABLED_AccessibilityAriaCombobox
) {
196 RunAriaTest(FILE_PATH_LITERAL("aria-combobox.html"));
199 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
200 AccessibilityAriaComplementary
) {
201 RunAriaTest(FILE_PATH_LITERAL("aria-complementary.html"));
204 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
205 AccessibilityAriaContentInfo
) {
206 RunAriaTest(FILE_PATH_LITERAL("aria-contentinfo.html"));
209 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaControls
) {
210 RunAriaTest(FILE_PATH_LITERAL("aria-controls.html"));
213 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDefinition
) {
214 RunAriaTest(FILE_PATH_LITERAL("aria-definition.html"));
217 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
218 AccessibilityAriaDescribedBy
) {
219 RunAriaTest(FILE_PATH_LITERAL("aria-describedby.html"));
222 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDialog
) {
223 RunAriaTest(FILE_PATH_LITERAL("aria-dialog.html"));
226 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDirectory
) {
227 RunAriaTest(FILE_PATH_LITERAL("aria-directory.html"));
230 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDisabled
) {
231 RunAriaTest(FILE_PATH_LITERAL("aria-disabled.html"));
234 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDocument
) {
235 RunAriaTest(FILE_PATH_LITERAL("aria-document.html"));
238 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDropEffect
) {
239 RunAriaTest(FILE_PATH_LITERAL("aria-dropeffect.html"));
242 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaExpanded
) {
243 RunAriaTest(FILE_PATH_LITERAL("aria-expanded.html"));
246 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHasPopup
) {
247 RunAriaTest(FILE_PATH_LITERAL("aria-haspopup.html"));
250 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHeading
) {
251 RunAriaTest(FILE_PATH_LITERAL("aria-heading.html"));
254 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHidden
) {
255 RunAriaTest(FILE_PATH_LITERAL("aria-hidden.html"));
258 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
259 MAYBE(AccessibilityAriaFlowto
)) {
260 RunAriaTest(FILE_PATH_LITERAL("aria-flowto.html"));
263 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaForm
) {
264 RunAriaTest(FILE_PATH_LITERAL("aria-form.html"));
267 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGrabbed
) {
268 RunAriaTest(FILE_PATH_LITERAL("aria-grabbed.html"));
271 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGrid
) {
272 RunAriaTest(FILE_PATH_LITERAL("aria-grid.html"));
275 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGridCell
) {
276 RunAriaTest(FILE_PATH_LITERAL("aria-gridcell.html"));
279 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGroup
) {
280 RunAriaTest(FILE_PATH_LITERAL("aria-group.html"));
283 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaImg
) {
284 RunAriaTest(FILE_PATH_LITERAL("aria-img.html"));
287 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaInvalid
) {
288 RunAriaTest(FILE_PATH_LITERAL("aria-invalid.html"));
291 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLabel
) {
292 RunAriaTest(FILE_PATH_LITERAL("aria-label.html"));
295 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
296 AccessibilityAriaLabelledByHeading
) {
297 RunAriaTest(FILE_PATH_LITERAL("aria-labelledby-heading.html"));
300 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLevel
) {
301 RunAriaTest(FILE_PATH_LITERAL("aria-level.html"));
304 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLink
) {
305 RunAriaTest(FILE_PATH_LITERAL("aria-link.html"));
308 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaList
) {
309 RunAriaTest(FILE_PATH_LITERAL("aria-list.html"));
312 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaListBox
) {
313 RunAriaTest(FILE_PATH_LITERAL("aria-listbox.html"));
316 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
317 AccessibilityAriaListBoxActiveDescendant
) {
318 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-activedescendant.html"));
321 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
322 AccessibilityAriaListBoxAriaSelected
) {
323 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-aria-selected.html"));
326 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
327 AccessibilityAriaListBoxChildFocus
) {
328 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-childfocus.html"));
331 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaListItem
) {
332 RunAriaTest(FILE_PATH_LITERAL("aria-listitem.html"));
335 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLive
) {
336 RunAriaTest(FILE_PATH_LITERAL("aria-live.html"));
339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
340 AccessibilityAriaLiveWithContent
) {
341 RunAriaTest(FILE_PATH_LITERAL("aria-live-with-content.html"));
344 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLog
) {
345 RunAriaTest(FILE_PATH_LITERAL("aria-log.html"));
348 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMain
) {
349 RunAriaTest(FILE_PATH_LITERAL("aria-main.html"));
352 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMarquee
) {
353 RunAriaTest(FILE_PATH_LITERAL("aria-marquee.html"));
356 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenu
) {
357 RunAriaTest(FILE_PATH_LITERAL("aria-menu.html"));
360 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenuBar
) {
361 RunAriaTest(FILE_PATH_LITERAL("aria-menubar.html"));
364 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenuItem
) {
365 RunAriaTest(FILE_PATH_LITERAL("aria-menuitem.html"));
368 // crbug.com/442278 will stop creating new text elements representing title.
369 // Re-baseline after the Blink change goes in
370 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
371 DISABLED_AccessibilityAriaMenuItemCheckBox
) {
372 RunAriaTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html"));
375 // crbug.com/442278 will stop creating new text elements representing title.
376 // Re-baseline after the Blink change goes in
377 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
378 DISABLED_AccessibilityAriaMenuItemRadio
) {
379 RunAriaTest(FILE_PATH_LITERAL("aria-menuitemradio.html"));
382 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMultiline
) {
383 RunAriaTest(FILE_PATH_LITERAL("aria-multiline.html"));
386 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
387 AccessibilityAriaMultiselectable
) {
388 RunAriaTest(FILE_PATH_LITERAL("aria-multiselectable.html"));
391 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaNavigation
) {
392 RunAriaTest(FILE_PATH_LITERAL("aria-navigation.html"));
395 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaNote
) {
396 RunAriaTest(FILE_PATH_LITERAL("aria-note.html"));
399 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
400 AccessibilityAriaOrientation
) {
401 RunAriaTest(FILE_PATH_LITERAL("aria-orientation.html"));
404 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMath
) {
405 RunAriaTest(FILE_PATH_LITERAL("aria-math.html"));
408 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaNone
) {
409 RunAriaTest(FILE_PATH_LITERAL("aria-none.html"));
412 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaOption
) {
413 RunAriaTest(FILE_PATH_LITERAL("aria-option.html"));
416 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
417 AccessibilityAriaPresentation
) {
418 RunAriaTest(FILE_PATH_LITERAL("aria-presentation.html"));
421 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaPressed
) {
422 RunAriaTest(FILE_PATH_LITERAL("aria-pressed.html"));
425 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
426 AccessibilityAriaProgressbar
) {
427 RunAriaTest(FILE_PATH_LITERAL("aria-progressbar.html"));
430 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRadio
) {
431 RunAriaTest(FILE_PATH_LITERAL("aria-radio.html"));
434 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
435 AccessibilityAriaRadiogroup
) {
436 RunAriaTest(FILE_PATH_LITERAL("aria-radiogroup.html"));
439 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaReadonly
) {
440 RunAriaTest(FILE_PATH_LITERAL("aria-readonly.html"));
443 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRegion
) {
444 RunAriaTest(FILE_PATH_LITERAL("aria-region.html"));
447 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRelevant
) {
448 RunAriaTest(FILE_PATH_LITERAL("aria-relevant.html"));
451 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRequired
) {
452 RunAriaTest(FILE_PATH_LITERAL("aria-required.html"));
455 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRow
) {
456 RunAriaTest(FILE_PATH_LITERAL("aria-row.html"));
459 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRowGroup
) {
460 RunAriaTest(FILE_PATH_LITERAL("aria-rowgroup.html"));
463 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRowHeader
) {
464 RunAriaTest(FILE_PATH_LITERAL("aria-rowheader.html"));
467 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaScrollbar
) {
468 RunAriaTest(FILE_PATH_LITERAL("aria-scrollbar.html"));
471 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSearch
) {
472 RunAriaTest(FILE_PATH_LITERAL("aria-search.html"));
475 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSearchBox
) {
476 RunAriaTest(FILE_PATH_LITERAL("aria-searchbox.html"));
479 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSelected
) {
480 RunAriaTest(FILE_PATH_LITERAL("aria-selected.html"));
483 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSeparator
) {
484 RunAriaTest(FILE_PATH_LITERAL("aria-separator.html"));
487 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSlider
) {
488 RunAriaTest(FILE_PATH_LITERAL("aria-slider.html"));
491 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
492 AccessibilityAriaSortOnAriaGrid
) {
493 RunAriaTest(FILE_PATH_LITERAL("aria-sort-aria-grid.html"));
496 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
497 AccessibilityAriaSortOnHtmlTable
) {
498 RunAriaTest(FILE_PATH_LITERAL("aria-sort-html-table.html"));
501 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
502 AccessibilityAriaSpinButton
) {
503 RunAriaTest(FILE_PATH_LITERAL("aria-spinbutton.html"));
506 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaStatus
) {
507 RunAriaTest(FILE_PATH_LITERAL("aria-status.html"));
510 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSwitch
) {
511 RunAriaTest(FILE_PATH_LITERAL("aria-switch.html"));
514 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTab
) {
515 RunAriaTest(FILE_PATH_LITERAL("aria-tab.html"));
518 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTabList
) {
519 RunAriaTest(FILE_PATH_LITERAL("aria-tablist.html"));
522 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTabPanel
) {
523 RunAriaTest(FILE_PATH_LITERAL("aria-tabpanel.html"));
526 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTextbox
) {
527 RunAriaTest(FILE_PATH_LITERAL("aria-textbox.html"));
530 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTimer
) {
531 RunAriaTest(FILE_PATH_LITERAL("aria-timer.html"));
534 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
535 AccessibilityAriaToggleButton
) {
536 RunAriaTest(FILE_PATH_LITERAL("aria-togglebutton.html"));
539 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaToolbar
) {
540 RunAriaTest(FILE_PATH_LITERAL("aria-toolbar.html"));
543 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTooltip
) {
544 RunAriaTest(FILE_PATH_LITERAL("aria-tooltip.html"));
547 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTree
) {
548 RunAriaTest(FILE_PATH_LITERAL("aria-tree.html"));
551 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTreeGrid
) {
552 RunAriaTest(FILE_PATH_LITERAL("aria-treegrid.html"));
555 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueMin
) {
556 RunAriaTest(FILE_PATH_LITERAL("aria-valuemin.html"));
559 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueMax
) {
560 RunAriaTest(FILE_PATH_LITERAL("aria-valuemax.html"));
563 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueNow
) {
564 RunAriaTest(FILE_PATH_LITERAL("aria-valuenow.html"));
567 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueText
) {
568 RunAriaTest(FILE_PATH_LITERAL("aria-valuetext.html"));
571 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityArticle
) {
572 RunHtmlTest(FILE_PATH_LITERAL("article.html"));
575 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAside
) {
576 RunHtmlTest(FILE_PATH_LITERAL("aside.html"));
579 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAudio
) {
580 RunHtmlTest(FILE_PATH_LITERAL("audio.html"));
583 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAWithImg
) {
584 RunHtmlTest(FILE_PATH_LITERAL("a-with-img.html"));
587 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityB
) {
588 RunHtmlTest(FILE_PATH_LITERAL("b.html"));
591 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBase
) {
592 RunHtmlTest(FILE_PATH_LITERAL("base.html"));
595 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBdo
) {
596 RunHtmlTest(FILE_PATH_LITERAL("bdo.html"));
599 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBlockquote
) {
600 RunHtmlTest(FILE_PATH_LITERAL("blockquote.html"));
603 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBody
) {
604 RunHtmlTest(FILE_PATH_LITERAL("body.html"));
607 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, DISABLED_AccessibilityBR
) {
608 RunHtmlTest(FILE_PATH_LITERAL("br.html"));
611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityButton
) {
612 RunHtmlTest(FILE_PATH_LITERAL("button.html"));
615 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityButtonNameCalc
) {
616 RunHtmlTest(FILE_PATH_LITERAL("button-name-calc.html"));
619 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCanvas
) {
620 RunHtmlTest(FILE_PATH_LITERAL("canvas.html"));
623 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCaption
) {
624 RunHtmlTest(FILE_PATH_LITERAL("caption.html"));
627 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
628 AccessibilityCheckboxNameCalc
) {
629 RunHtmlTest(FILE_PATH_LITERAL("checkbox-name-calc.html"));
632 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCite
) {
633 RunHtmlTest(FILE_PATH_LITERAL("cite.html"));
636 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCode
) {
637 RunHtmlTest(FILE_PATH_LITERAL("code.html"));
640 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCol
) {
641 RunHtmlTest(FILE_PATH_LITERAL("col.html"));
644 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityColgroup
) {
645 RunHtmlTest(FILE_PATH_LITERAL("colgroup.html"));
648 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDd
) {
649 RunHtmlTest(FILE_PATH_LITERAL("dd.html"));
652 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDel
) {
653 RunHtmlTest(FILE_PATH_LITERAL("del.html"));
656 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDetails
) {
657 RunHtmlTest(FILE_PATH_LITERAL("details.html"));
660 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDfn
) {
661 RunHtmlTest(FILE_PATH_LITERAL("dfn.html"));
664 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDialog
) {
665 RunHtmlTest(FILE_PATH_LITERAL("dialog.html"));
668 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDiv
) {
669 RunHtmlTest(FILE_PATH_LITERAL("div.html"));
672 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDl
) {
673 RunHtmlTest(FILE_PATH_LITERAL("dl.html"));
676 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDt
) {
677 RunHtmlTest(FILE_PATH_LITERAL("dt.html"));
680 #if defined(OS_ANDROID)
681 // Flaky failures: http://crbug.com/445929.
682 #define MAYBE_AccessibilityContenteditableDescendants \
683 DISABLED_AccessibilityContenteditableDescendants
685 #define MAYBE_AccessibilityContenteditableDescendants \
686 AccessibilityContenteditableDescendants
688 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
689 MAYBE_AccessibilityContenteditableDescendants
) {
690 RunHtmlTest(FILE_PATH_LITERAL("contenteditable-descendants.html"));
693 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityEm
) {
694 RunHtmlTest(FILE_PATH_LITERAL("em.html"));
697 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityEmbed
) {
698 RunHtmlTest(FILE_PATH_LITERAL("embed.html"));
701 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFieldset
) {
702 RunHtmlTest(FILE_PATH_LITERAL("fieldset.html"));
705 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFigcaption
) {
706 RunHtmlTest(FILE_PATH_LITERAL("figcaption.html"));
709 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFigure
) {
710 RunHtmlTest(FILE_PATH_LITERAL("figure.html"));
713 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFooter
) {
714 RunHtmlTest(FILE_PATH_LITERAL("footer.html"));
717 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityForm
) {
718 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
721 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFrameset
) {
722 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
725 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHead
) {
726 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
729 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHeader
) {
730 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
733 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHeading
) {
734 RunHtmlTest(FILE_PATH_LITERAL("heading.html"));
737 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHR
) {
738 RunHtmlTest(FILE_PATH_LITERAL("hr.html"));
741 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHTML
) {
742 RunHtmlTest(FILE_PATH_LITERAL("html.html"));
745 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityI
) {
746 RunHtmlTest(FILE_PATH_LITERAL("i.html"));
749 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityIframe
) {
750 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
753 // Flaky. See http://crbug.com/224659.
754 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
755 DISABLED_AccessibilityIframeCoordinates
) {
756 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
759 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
760 AccessibilityIframePresentational
) {
761 RunHtmlTest(FILE_PATH_LITERAL("iframe-presentational.html"));
764 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityImg
) {
765 RunHtmlTest(FILE_PATH_LITERAL("img.html"));
768 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputButton
) {
769 RunHtmlTest(FILE_PATH_LITERAL("input-button.html"));
772 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
773 AccessibilityInputButtonInMenu
) {
774 RunHtmlTest(FILE_PATH_LITERAL("input-button-in-menu.html"));
777 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputCheckBox
) {
778 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox.html"));
781 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
782 AccessibilityInputCheckBoxInMenu
) {
783 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox-in-menu.html"));
786 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputColor
) {
787 RunHtmlTest(FILE_PATH_LITERAL("input-color.html"));
790 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputDate
) {
791 RunHtmlTest(FILE_PATH_LITERAL("input-date.html"));
794 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputDateTime
) {
795 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html"));
798 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
799 AccessibilityInputDateTimeLocal
) {
800 #if defined(OS_MACOSX)
801 // Fails on OS X 10.9 <https://crbug.com/430622>.
802 if (base::mac::IsOSMavericks())
805 RunHtmlTest(FILE_PATH_LITERAL("input-datetime-local.html"));
808 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputEmail
) {
809 RunHtmlTest(FILE_PATH_LITERAL("input-email.html"));
812 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputFile
) {
813 RunHtmlTest(FILE_PATH_LITERAL("input-file.html"));
816 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputHidden
) {
817 RunHtmlTest(FILE_PATH_LITERAL("input-hidden.html"));
820 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputImage
) {
821 RunHtmlTest(FILE_PATH_LITERAL("input-image.html"));
824 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
825 AccessibilityInputImageButtonInMenu
) {
826 RunHtmlTest(FILE_PATH_LITERAL("input-image-button-in-menu.html"));
829 // crbug.com/423675 - AX tree is different for Win7 and Win8.
831 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
832 DISABLED_AccessibilityInputMonth
) {
833 RunHtmlTest(FILE_PATH_LITERAL("input-month.html"));
836 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputMonth
) {
837 RunHtmlTest(FILE_PATH_LITERAL("input-month.html"));
842 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
843 DISABLED_AccessibilityInputPassword
) {
844 RunHtmlTest(FILE_PATH_LITERAL("input-password.html"));
847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputRadio
) {
848 RunHtmlTest(FILE_PATH_LITERAL("input-radio.html"));
851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
852 AccessibilityInputRadioInMenu
) {
853 RunHtmlTest(FILE_PATH_LITERAL("input-radio-in-menu.html"));
856 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputRange
) {
857 RunHtmlTest(FILE_PATH_LITERAL("input-range.html"));
860 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputReset
) {
861 RunHtmlTest(FILE_PATH_LITERAL("input-reset.html"));
864 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputSearch
) {
865 RunHtmlTest(FILE_PATH_LITERAL("input-search.html"));
868 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySmall
) {
869 RunHtmlTest(FILE_PATH_LITERAL("small.html"));
872 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputSubmit
) {
873 RunHtmlTest(FILE_PATH_LITERAL("input-submit.html"));
876 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
877 AccessibilityInputSuggestionsSourceElement
) {
878 RunHtmlTest(FILE_PATH_LITERAL("input-suggestions-source-element.html"));
881 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTel
) {
882 RunHtmlTest(FILE_PATH_LITERAL("input-tel.html"));
885 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputText
) {
886 RunHtmlTest(FILE_PATH_LITERAL("input-text.html"));
889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
890 AccessibilityInputTextNameCalc
) {
891 RunHtmlTest(FILE_PATH_LITERAL("input-text-name-calc.html"));
894 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTextValue
) {
895 RunHtmlTest(FILE_PATH_LITERAL("input-text-value.html"));
898 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTime
) {
899 RunHtmlTest(FILE_PATH_LITERAL("input-time.html"));
902 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
903 // Re-baseline after the Blink change goes in
904 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
905 DISABLED_AccessibilityInputTypes
) {
906 RunHtmlTest(FILE_PATH_LITERAL("input-types.html"));
909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputUrl
) {
910 RunHtmlTest(FILE_PATH_LITERAL("input-url.html"));
913 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputWeek
) {
914 RunHtmlTest(FILE_PATH_LITERAL("input-week.html"));
917 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityIns
) {
918 RunHtmlTest(FILE_PATH_LITERAL("ins.html"));
921 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityKeygen
) {
922 RunHtmlTest(FILE_PATH_LITERAL("keygen.html"));
925 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLabel
) {
926 RunHtmlTest(FILE_PATH_LITERAL("label.html"));
929 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLandmark
) {
930 RunHtmlTest(FILE_PATH_LITERAL("landmark.html"));
933 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLegend
) {
934 RunHtmlTest(FILE_PATH_LITERAL("legend.html"));
937 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLi
) {
938 RunHtmlTest(FILE_PATH_LITERAL("li.html"));
941 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLink
) {
942 RunHtmlTest(FILE_PATH_LITERAL("link.html"));
945 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
946 AccessibilityLinkInsideHeading
) {
947 RunHtmlTest(FILE_PATH_LITERAL("link-inside-heading.html"));
950 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityList
) {
951 RunHtmlTest(FILE_PATH_LITERAL("list.html"));
954 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityListMarkers
) {
955 RunHtmlTest(FILE_PATH_LITERAL("list-markers.html"));
958 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMain
) {
959 RunHtmlTest(FILE_PATH_LITERAL("main.html"));
962 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMark
) {
963 RunHtmlTest(FILE_PATH_LITERAL("mark.html"));
966 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMath
) {
967 RunHtmlTest(FILE_PATH_LITERAL("math.html"));
970 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
971 AccessibilityMenutypecontext
) {
972 RunHtmlTest(FILE_PATH_LITERAL("menu-type-context.html"));
975 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMeta
) {
976 RunHtmlTest(FILE_PATH_LITERAL("meta.html"));
979 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMeter
) {
980 RunHtmlTest(FILE_PATH_LITERAL("meter.html"));
983 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
984 AccessibilityModalDialogClosed
) {
985 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html"));
988 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
989 AccessibilityModalDialogOpened
) {
990 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html"));
993 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
994 AccessibilityModalDialogInIframeClosed
) {
995 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html"));
998 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
999 AccessibilityModalDialogInIframeOpened
) {
1000 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html"));
1003 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1004 AccessibilityModalDialogStack
) {
1005 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html"));
1008 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityNavigation
) {
1009 RunHtmlTest(FILE_PATH_LITERAL("navigation.html"));
1012 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityNoscript
) {
1013 RunHtmlTest(FILE_PATH_LITERAL("noscript.html"));
1016 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityOl
) {
1017 RunHtmlTest(FILE_PATH_LITERAL("ol.html"));
1020 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityObject
) {
1021 RunHtmlTest(FILE_PATH_LITERAL("object.html"));
1024 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityOptgroup
) {
1025 RunHtmlTest(FILE_PATH_LITERAL("optgroup.html"));
1028 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1029 AccessibilityOptionindatalist
) {
1030 RunHtmlTest(FILE_PATH_LITERAL("option-in-datalist.html"));
1033 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1034 DISABLED_AccessibilityOutput
) {
1035 RunHtmlTest(FILE_PATH_LITERAL("output.html"));
1038 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityP
) {
1039 RunHtmlTest(FILE_PATH_LITERAL("p.html"));
1042 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityParam
) {
1043 RunHtmlTest(FILE_PATH_LITERAL("param.html"));
1046 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityPre
) {
1047 RunHtmlTest(FILE_PATH_LITERAL("pre.html"));
1050 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityProgress
) {
1051 RunHtmlTest(FILE_PATH_LITERAL("progress.html"));
1054 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityQ
) {
1055 RunHtmlTest(FILE_PATH_LITERAL("q.html"));
1058 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityRuby
) {
1059 RunHtmlTest(FILE_PATH_LITERAL("ruby.html"));
1062 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityS
) {
1063 RunHtmlTest(FILE_PATH_LITERAL("s.html"));
1066 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySamp
) {
1067 RunHtmlTest(FILE_PATH_LITERAL("samp.html"));
1070 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityScript
) {
1071 RunHtmlTest(FILE_PATH_LITERAL("script.html"));
1074 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySection
) {
1075 RunHtmlTest(FILE_PATH_LITERAL("section.html"));
1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySelect
) {
1079 RunHtmlTest(FILE_PATH_LITERAL("select.html"));
1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySource
) {
1083 RunHtmlTest(FILE_PATH_LITERAL("source.html"));
1086 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySpan
) {
1087 RunHtmlTest(FILE_PATH_LITERAL("span.html"));
1090 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityStrong
) {
1091 RunHtmlTest(FILE_PATH_LITERAL("strong.html"));
1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityStyle
) {
1095 RunHtmlTest(FILE_PATH_LITERAL("style.html"));
1098 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySub
) {
1099 RunHtmlTest(FILE_PATH_LITERAL("sub.html"));
1102 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySup
) {
1103 RunHtmlTest(FILE_PATH_LITERAL("sup.html"));
1106 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySummary
) {
1107 RunHtmlTest(FILE_PATH_LITERAL("summary.html"));
1110 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySvg
) {
1111 RunHtmlTest(FILE_PATH_LITERAL("svg.html"));
1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTableSimple
) {
1115 RunHtmlTest(FILE_PATH_LITERAL("table-simple.html"));
1118 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1119 AccessibilityTableThRowHeader
) {
1120 RunHtmlTest(FILE_PATH_LITERAL("table-th-rowheader.html"));
1123 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1124 AccessibilityTableTbodyTfoot
) {
1125 RunHtmlTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html"));
1128 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTableSpans
) {
1129 RunHtmlTest(FILE_PATH_LITERAL("table-spans.html"));
1132 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTextArea
) {
1133 RunHtmlTest(FILE_PATH_LITERAL("textarea.html"));
1136 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTime
) {
1137 RunHtmlTest(FILE_PATH_LITERAL("time.html"));
1140 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTitle
) {
1141 RunHtmlTest(FILE_PATH_LITERAL("title.html"));
1144 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTransition
) {
1145 RunHtmlTest(FILE_PATH_LITERAL("transition.html"));
1148 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityUl
) {
1149 RunHtmlTest(FILE_PATH_LITERAL("ul.html"));
1152 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityVar
) {
1153 RunHtmlTest(FILE_PATH_LITERAL("var.html"));
1157 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, DISABLED_AccessibilityVideo
) {
1158 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1161 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityWbr
) {
1162 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1165 } // namespace content