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 chrome/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 // crbug.com/451047 will cause new elements to be added to the blink a11y tree
188 // Re-baseline after the Blink change goes in
189 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
190 DISABLED_AccessibilityAriaColumnHeader
) {
191 RunAriaTest(FILE_PATH_LITERAL("aria-columnheader.html"));
194 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
195 // Re-baseline after the Blink change goes in
196 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
197 DISABLED_AccessibilityAriaCombobox
) {
198 RunAriaTest(FILE_PATH_LITERAL("aria-combobox.html"));
201 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
202 AccessibilityAriaComplementary
) {
203 RunAriaTest(FILE_PATH_LITERAL("aria-complementary.html"));
206 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
207 AccessibilityAriaContentInfo
) {
208 RunAriaTest(FILE_PATH_LITERAL("aria-contentinfo.html"));
211 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaControls
) {
212 RunAriaTest(FILE_PATH_LITERAL("aria-controls.html"));
215 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDefinition
) {
216 RunAriaTest(FILE_PATH_LITERAL("aria-definition.html"));
219 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
220 AccessibilityAriaDescribedBy
) {
221 RunAriaTest(FILE_PATH_LITERAL("aria-describedby.html"));
224 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDialog
) {
225 RunAriaTest(FILE_PATH_LITERAL("aria-dialog.html"));
228 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDirectory
) {
229 RunAriaTest(FILE_PATH_LITERAL("aria-directory.html"));
232 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDisabled
) {
233 RunAriaTest(FILE_PATH_LITERAL("aria-disabled.html"));
236 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaDocument
) {
237 RunAriaTest(FILE_PATH_LITERAL("aria-document.html"));
240 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaExpanded
) {
241 RunAriaTest(FILE_PATH_LITERAL("aria-expanded.html"));
244 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHasPopup
) {
245 RunAriaTest(FILE_PATH_LITERAL("aria-haspopup.html"));
248 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHeading
) {
249 RunAriaTest(FILE_PATH_LITERAL("aria-heading.html"));
252 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaHidden
) {
253 RunAriaTest(FILE_PATH_LITERAL("aria-hidden.html"));
256 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
257 MAYBE(AccessibilityAriaFlowto
)) {
258 RunAriaTest(FILE_PATH_LITERAL("aria-flowto.html"));
261 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaForm
) {
262 RunAriaTest(FILE_PATH_LITERAL("aria-form.html"));
265 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
266 DISABLED_AccessibilityAriaGrabbed
) {
267 RunAriaTest(FILE_PATH_LITERAL("aria-grabbed.html"));
270 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGrid
) {
271 RunAriaTest(FILE_PATH_LITERAL("aria-grid.html"));
274 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGridCell
) {
275 RunAriaTest(FILE_PATH_LITERAL("aria-gridcell.html"));
278 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaGroup
) {
279 RunAriaTest(FILE_PATH_LITERAL("aria-group.html"));
282 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaImg
) {
283 RunAriaTest(FILE_PATH_LITERAL("aria-img.html"));
286 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaInvalid
) {
287 RunAriaTest(FILE_PATH_LITERAL("aria-invalid.html"));
290 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLabel
) {
291 RunAriaTest(FILE_PATH_LITERAL("aria-label.html"));
294 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
295 AccessibilityAriaLabelledByHeading
) {
296 RunAriaTest(FILE_PATH_LITERAL("aria-labelledby-heading.html"));
299 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLevel
) {
300 RunAriaTest(FILE_PATH_LITERAL("aria-level.html"));
303 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLink
) {
304 RunAriaTest(FILE_PATH_LITERAL("aria-link.html"));
307 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaList
) {
308 RunAriaTest(FILE_PATH_LITERAL("aria-list.html"));
311 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaListBox
) {
312 RunAriaTest(FILE_PATH_LITERAL("aria-listbox.html"));
315 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
316 AccessibilityAriaListBoxActiveDescendant
) {
317 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-activedescendant.html"));
320 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
321 AccessibilityAriaListBoxAriaSelected
) {
322 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-aria-selected.html"));
325 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
326 AccessibilityAriaListBoxChildFocus
) {
327 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-childfocus.html"));
330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaListItem
) {
331 RunAriaTest(FILE_PATH_LITERAL("aria-listitem.html"));
334 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLive
) {
335 RunAriaTest(FILE_PATH_LITERAL("aria-live.html"));
338 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
339 AccessibilityAriaLiveWithContent
) {
340 RunAriaTest(FILE_PATH_LITERAL("aria-live-with-content.html"));
343 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaLog
) {
344 RunAriaTest(FILE_PATH_LITERAL("aria-log.html"));
347 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMain
) {
348 RunAriaTest(FILE_PATH_LITERAL("aria-main.html"));
351 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMarquee
) {
352 RunAriaTest(FILE_PATH_LITERAL("aria-marquee.html"));
355 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenu
) {
356 RunAriaTest(FILE_PATH_LITERAL("aria-menu.html"));
359 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenuBar
) {
360 RunAriaTest(FILE_PATH_LITERAL("aria-menubar.html"));
363 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaMenuItem
) {
364 RunAriaTest(FILE_PATH_LITERAL("aria-menuitem.html"));
367 // crbug.com/442278 will stop creating new text elements representing title.
368 // Re-baseline after the Blink change goes in
369 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
370 DISABLED_AccessibilityAriaMenuItemCheckBox
) {
371 RunAriaTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html"));
374 // crbug.com/442278 will stop creating new text elements representing title.
375 // Re-baseline after the Blink change goes in
376 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
377 DISABLED_AccessibilityAriaMenuItemRadio
) {
378 RunAriaTest(FILE_PATH_LITERAL("aria-menuitemradio.html"));
381 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
382 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 // crbug.com/451047 will cause new elements to be added to the blink a11y tree
456 // Re-baseline after the Blink change goes in
457 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
458 DISABLED_AccessibilityAriaRow
) {
459 RunAriaTest(FILE_PATH_LITERAL("aria-row.html"));
462 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaRowGroup
) {
463 RunAriaTest(FILE_PATH_LITERAL("aria-rowgroup.html"));
466 // crbug.com/451047 will cause new elements to be added to the blink a11y tree
467 // Re-baseline after the Blink change goes in
468 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
469 DISABLED_AccessibilityAriaRowHeader
) {
470 RunAriaTest(FILE_PATH_LITERAL("aria-rowheader.html"));
473 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaScrollbar
) {
474 RunAriaTest(FILE_PATH_LITERAL("aria-scrollbar.html"));
477 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSearch
) {
478 RunAriaTest(FILE_PATH_LITERAL("aria-search.html"));
481 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSelected
) {
482 RunAriaTest(FILE_PATH_LITERAL("aria-selected.html"));
485 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSeparator
) {
486 RunAriaTest(FILE_PATH_LITERAL("aria-separator.html"));
489 // crbug.com/451047 will cause new elements to be added to the blink a11y tree
490 // Re-baseline after the Blink change goes in
491 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
492 DISABLED_AccessibilityAriaSort
) {
493 RunAriaTest(FILE_PATH_LITERAL("aria-sort.html"));
496 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaSlider
) {
497 RunAriaTest(FILE_PATH_LITERAL("aria-slider.html"));
500 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
501 AccessibilityAriaSpinButton
) {
502 RunAriaTest(FILE_PATH_LITERAL("aria-spinbutton.html"));
505 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaStatus
) {
506 RunAriaTest(FILE_PATH_LITERAL("aria-status.html"));
509 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTab
) {
510 RunAriaTest(FILE_PATH_LITERAL("aria-tab.html"));
513 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTabList
) {
514 RunAriaTest(FILE_PATH_LITERAL("aria-tablist.html"));
517 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTabPanel
) {
518 RunAriaTest(FILE_PATH_LITERAL("aria-tabpanel.html"));
521 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTextbox
) {
522 RunAriaTest(FILE_PATH_LITERAL("aria-textbox.html"));
525 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTimer
) {
526 RunAriaTest(FILE_PATH_LITERAL("aria-timer.html"));
529 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
530 AccessibilityAriaToggleButton
) {
531 RunAriaTest(FILE_PATH_LITERAL("aria-togglebutton.html"));
534 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaToolbar
) {
535 RunAriaTest(FILE_PATH_LITERAL("aria-toolbar.html"));
538 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTooltip
) {
539 RunAriaTest(FILE_PATH_LITERAL("aria-tooltip.html"));
542 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTree
) {
543 RunAriaTest(FILE_PATH_LITERAL("aria-tree.html"));
546 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaTreeGrid
) {
547 RunAriaTest(FILE_PATH_LITERAL("aria-treegrid.html"));
550 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueMin
) {
551 RunAriaTest(FILE_PATH_LITERAL("aria-valuemin.html"));
554 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueMax
) {
555 RunAriaTest(FILE_PATH_LITERAL("aria-valuemax.html"));
558 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueNow
) {
559 RunAriaTest(FILE_PATH_LITERAL("aria-valuenow.html"));
562 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAriaValueText
) {
563 RunAriaTest(FILE_PATH_LITERAL("aria-valuetext.html"));
566 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityArticle
) {
567 RunHtmlTest(FILE_PATH_LITERAL("article.html"));
570 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAside
) {
571 RunHtmlTest(FILE_PATH_LITERAL("aside.html"));
574 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAudio
) {
575 RunHtmlTest(FILE_PATH_LITERAL("audio.html"));
578 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityAWithImg
) {
579 RunHtmlTest(FILE_PATH_LITERAL("a-with-img.html"));
582 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityB
) {
583 RunHtmlTest(FILE_PATH_LITERAL("b.html"));
586 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBase
) {
587 RunHtmlTest(FILE_PATH_LITERAL("base.html"));
590 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBdo
) {
591 RunHtmlTest(FILE_PATH_LITERAL("bdo.html"));
594 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBlockquote
) {
595 RunHtmlTest(FILE_PATH_LITERAL("blockquote.html"));
598 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBody
) {
599 RunHtmlTest(FILE_PATH_LITERAL("body.html"));
602 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityBR
) {
603 RunHtmlTest(FILE_PATH_LITERAL("br.html"));
606 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityButton
) {
607 RunHtmlTest(FILE_PATH_LITERAL("button.html"));
610 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityButtonNameCalc
) {
611 RunHtmlTest(FILE_PATH_LITERAL("button-name-calc.html"));
614 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCanvas
) {
615 RunHtmlTest(FILE_PATH_LITERAL("canvas.html"));
618 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCaption
) {
619 RunHtmlTest(FILE_PATH_LITERAL("caption.html"));
622 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
623 AccessibilityCheckboxNameCalc
) {
624 RunHtmlTest(FILE_PATH_LITERAL("checkbox-name-calc.html"));
627 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCite
) {
628 RunHtmlTest(FILE_PATH_LITERAL("cite.html"));
631 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCode
) {
632 RunHtmlTest(FILE_PATH_LITERAL("code.html"));
635 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityCol
) {
636 RunHtmlTest(FILE_PATH_LITERAL("col.html"));
639 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityColgroup
) {
640 RunHtmlTest(FILE_PATH_LITERAL("colgroup.html"));
643 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDd
) {
644 RunHtmlTest(FILE_PATH_LITERAL("dd.html"));
647 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDel
) {
648 RunHtmlTest(FILE_PATH_LITERAL("del.html"));
651 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDetails
) {
652 RunHtmlTest(FILE_PATH_LITERAL("details.html"));
655 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDfn
) {
656 RunHtmlTest(FILE_PATH_LITERAL("dfn.html"));
659 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDialog
) {
660 RunHtmlTest(FILE_PATH_LITERAL("dialog.html"));
663 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDiv
) {
664 RunHtmlTest(FILE_PATH_LITERAL("div.html"));
667 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDl
) {
668 RunHtmlTest(FILE_PATH_LITERAL("dl.html"));
671 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityDt
) {
672 RunHtmlTest(FILE_PATH_LITERAL("dt.html"));
675 #if defined(OS_ANDROID)
676 // Flaky failures: http://crbug.com/445929.
677 #define MAYBE_AccessibilityContenteditableDescendants \
678 DISABLED_AccessibilityContenteditableDescendants
680 #define MAYBE_AccessibilityContenteditableDescendants \
681 AccessibilityContenteditableDescendants
683 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
684 MAYBE_AccessibilityContenteditableDescendants
) {
685 RunHtmlTest(FILE_PATH_LITERAL("contenteditable-descendants.html"));
688 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityEm
) {
689 RunHtmlTest(FILE_PATH_LITERAL("em.html"));
692 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityEmbed
) {
693 RunHtmlTest(FILE_PATH_LITERAL("embed.html"));
696 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFieldset
) {
697 RunHtmlTest(FILE_PATH_LITERAL("fieldset.html"));
700 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFigcaption
) {
701 RunHtmlTest(FILE_PATH_LITERAL("figcaption.html"));
704 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFigure
) {
705 RunHtmlTest(FILE_PATH_LITERAL("figure.html"));
708 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFooter
) {
709 RunHtmlTest(FILE_PATH_LITERAL("footer.html"));
712 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityForm
) {
713 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
716 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityFrameset
) {
717 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
720 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHead
) {
721 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
724 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHeader
) {
725 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
728 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHeading
) {
729 RunHtmlTest(FILE_PATH_LITERAL("heading.html"));
732 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHR
) {
733 RunHtmlTest(FILE_PATH_LITERAL("hr.html"));
736 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityHTML
) {
737 RunHtmlTest(FILE_PATH_LITERAL("html.html"));
740 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityI
) {
741 RunHtmlTest(FILE_PATH_LITERAL("i.html"));
744 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityIframe
) {
745 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
748 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
749 AccessibilityIframeCoordinates
) {
750 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
753 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
754 AccessibilityIframePresentational
) {
755 RunHtmlTest(FILE_PATH_LITERAL("iframe-presentational.html"));
758 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityImg
) {
759 RunHtmlTest(FILE_PATH_LITERAL("img.html"));
762 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputButton
) {
763 RunHtmlTest(FILE_PATH_LITERAL("input-button.html"));
766 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
767 AccessibilityInputButtonInMenu
) {
768 RunHtmlTest(FILE_PATH_LITERAL("input-button-in-menu.html"));
771 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputCheckBox
) {
772 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox.html"));
775 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
776 AccessibilityInputCheckBoxInMenu
) {
777 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox-in-menu.html"));
780 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputColor
) {
781 RunHtmlTest(FILE_PATH_LITERAL("input-color.html"));
784 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputDate
) {
785 RunHtmlTest(FILE_PATH_LITERAL("input-date.html"));
788 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputDateTime
) {
789 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html"));
792 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
793 AccessibilityInputDateTimeLocal
) {
794 #if defined(OS_MACOSX)
795 // Fails on OS X 10.9 <https://crbug.com/430622>.
796 if (base::mac::IsOSMavericks())
799 RunHtmlTest(FILE_PATH_LITERAL("input-datetime-local.html"));
802 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputEmail
) {
803 RunHtmlTest(FILE_PATH_LITERAL("input-email.html"));
806 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputFile
) {
807 RunHtmlTest(FILE_PATH_LITERAL("input-file.html"));
810 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputHidden
) {
811 RunHtmlTest(FILE_PATH_LITERAL("input-hidden.html"));
814 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputImage
) {
815 RunHtmlTest(FILE_PATH_LITERAL("input-image.html"));
818 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
819 AccessibilityInputImageButtonInMenu
) {
820 RunHtmlTest(FILE_PATH_LITERAL("input-image-button-in-menu.html"));
823 // crbug.com/423675 - AX tree is different for Win7 and Win8.
825 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
826 DISABLED_AccessibilityInputMonth
) {
827 RunHtmlTest(FILE_PATH_LITERAL("input-month.html"));
830 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputMonth
) {
831 RunHtmlTest(FILE_PATH_LITERAL("input-month.html"));
835 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputPassword
) {
836 RunHtmlTest(FILE_PATH_LITERAL("input-password.html"));
839 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputRadio
) {
840 RunHtmlTest(FILE_PATH_LITERAL("input-radio.html"));
843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
844 AccessibilityInputRadioInMenu
) {
845 RunHtmlTest(FILE_PATH_LITERAL("input-radio-in-menu.html"));
848 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputRange
) {
849 RunHtmlTest(FILE_PATH_LITERAL("input-range.html"));
852 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputReset
) {
853 RunHtmlTest(FILE_PATH_LITERAL("input-reset.html"));
856 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputSearch
) {
857 RunHtmlTest(FILE_PATH_LITERAL("input-search.html"));
860 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySmall
) {
861 RunHtmlTest(FILE_PATH_LITERAL("small.html"));
864 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputSubmit
) {
865 RunHtmlTest(FILE_PATH_LITERAL("input-submit.html"));
868 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
869 AccessibilityInputSuggestionsSourceElement
) {
870 RunHtmlTest(FILE_PATH_LITERAL("input-suggestions-source-element.html"));
873 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTel
) {
874 RunHtmlTest(FILE_PATH_LITERAL("input-tel.html"));
877 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputText
) {
878 RunHtmlTest(FILE_PATH_LITERAL("input-text.html"));
881 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
882 AccessibilityInputTextNameCalc
) {
883 RunHtmlTest(FILE_PATH_LITERAL("input-text-name-calc.html"));
886 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTextValue
) {
887 RunHtmlTest(FILE_PATH_LITERAL("input-text-value.html"));
890 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputTime
) {
891 RunHtmlTest(FILE_PATH_LITERAL("input-time.html"));
894 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
895 // Re-baseline after the Blink change goes in
896 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
897 DISABLED_AccessibilityInputTypes
) {
898 RunHtmlTest(FILE_PATH_LITERAL("input-types.html"));
901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputUrl
) {
902 RunHtmlTest(FILE_PATH_LITERAL("input-url.html"));
905 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityInputWeek
) {
906 RunHtmlTest(FILE_PATH_LITERAL("input-week.html"));
909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityIns
) {
910 RunHtmlTest(FILE_PATH_LITERAL("ins.html"));
913 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityKeygen
) {
914 RunHtmlTest(FILE_PATH_LITERAL("keygen.html"));
917 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLabel
) {
918 RunHtmlTest(FILE_PATH_LITERAL("label.html"));
921 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLandmark
) {
922 RunHtmlTest(FILE_PATH_LITERAL("landmark.html"));
925 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLegend
) {
926 RunHtmlTest(FILE_PATH_LITERAL("legend.html"));
929 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLi
) {
930 RunHtmlTest(FILE_PATH_LITERAL("li.html"));
933 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityLink
) {
934 RunHtmlTest(FILE_PATH_LITERAL("link.html"));
937 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
938 AccessibilityLinkInsideHeading
) {
939 RunHtmlTest(FILE_PATH_LITERAL("link-inside-heading.html"));
942 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityList
) {
943 RunHtmlTest(FILE_PATH_LITERAL("list.html"));
946 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityListMarkers
) {
947 RunHtmlTest(FILE_PATH_LITERAL("list-markers.html"));
950 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMain
) {
951 RunHtmlTest(FILE_PATH_LITERAL("main.html"));
954 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMark
) {
955 RunHtmlTest(FILE_PATH_LITERAL("mark.html"));
958 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMath
) {
959 RunHtmlTest(FILE_PATH_LITERAL("math.html"));
962 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
963 AccessibilityMenutypecontext
) {
964 RunHtmlTest(FILE_PATH_LITERAL("menu-type-context.html"));
967 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMeta
) {
968 RunHtmlTest(FILE_PATH_LITERAL("meta.html"));
971 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityMeter
) {
972 RunHtmlTest(FILE_PATH_LITERAL("meter.html"));
975 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
976 AccessibilityModalDialogClosed
) {
977 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html"));
980 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
981 AccessibilityModalDialogOpened
) {
982 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html"));
985 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
986 AccessibilityModalDialogInIframeClosed
) {
987 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html"));
990 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
991 AccessibilityModalDialogInIframeOpened
) {
992 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html"));
995 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
996 AccessibilityModalDialogStack
) {
997 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html"));
1000 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityNavigation
) {
1001 RunHtmlTest(FILE_PATH_LITERAL("navigation.html"));
1004 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityNoscript
) {
1005 RunHtmlTest(FILE_PATH_LITERAL("noscript.html"));
1008 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityOl
) {
1009 RunHtmlTest(FILE_PATH_LITERAL("ol.html"));
1012 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityObject
) {
1013 RunHtmlTest(FILE_PATH_LITERAL("object.html"));
1016 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityOptgroup
) {
1017 RunHtmlTest(FILE_PATH_LITERAL("optgroup.html"));
1020 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1021 AccessibilityOptionindatalist
) {
1022 RunHtmlTest(FILE_PATH_LITERAL("option-in-datalist.html"));
1025 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1026 DISABLED_AccessibilityOutput
) {
1027 RunHtmlTest(FILE_PATH_LITERAL("output.html"));
1030 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityP
) {
1031 RunHtmlTest(FILE_PATH_LITERAL("p.html"));
1034 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityParam
) {
1035 RunHtmlTest(FILE_PATH_LITERAL("param.html"));
1038 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityPre
) {
1039 RunHtmlTest(FILE_PATH_LITERAL("pre.html"));
1042 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityProgress
) {
1043 RunHtmlTest(FILE_PATH_LITERAL("progress.html"));
1046 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityQ
) {
1047 RunHtmlTest(FILE_PATH_LITERAL("q.html"));
1050 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityRuby
) {
1051 RunHtmlTest(FILE_PATH_LITERAL("ruby.html"));
1054 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityS
) {
1055 RunHtmlTest(FILE_PATH_LITERAL("s.html"));
1058 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySamp
) {
1059 RunHtmlTest(FILE_PATH_LITERAL("samp.html"));
1062 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityScript
) {
1063 RunHtmlTest(FILE_PATH_LITERAL("script.html"));
1066 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySection
) {
1067 RunHtmlTest(FILE_PATH_LITERAL("section.html"));
1070 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySelect
) {
1071 RunHtmlTest(FILE_PATH_LITERAL("select.html"));
1074 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySource
) {
1075 RunHtmlTest(FILE_PATH_LITERAL("source.html"));
1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySpan
) {
1079 RunHtmlTest(FILE_PATH_LITERAL("span.html"));
1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityStrong
) {
1083 RunHtmlTest(FILE_PATH_LITERAL("strong.html"));
1086 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityStyle
) {
1087 RunHtmlTest(FILE_PATH_LITERAL("style.html"));
1090 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySub
) {
1091 RunHtmlTest(FILE_PATH_LITERAL("sub.html"));
1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySup
) {
1095 RunHtmlTest(FILE_PATH_LITERAL("sup.html"));
1098 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySummary
) {
1099 RunHtmlTest(FILE_PATH_LITERAL("summary.html"));
1102 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilitySvg
) {
1103 RunHtmlTest(FILE_PATH_LITERAL("svg.html"));
1106 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTableSimple
) {
1107 RunHtmlTest(FILE_PATH_LITERAL("table-simple.html"));
1110 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1111 AccessibilityTableThRowHeader
) {
1112 RunHtmlTest(FILE_PATH_LITERAL("table-th-rowheader.html"));
1115 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
,
1116 AccessibilityTableTbodyTfoot
) {
1117 RunHtmlTest(FILE_PATH_LITERAL("table-thead-tbody-tfoot.html"));
1120 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTableSpans
) {
1121 RunHtmlTest(FILE_PATH_LITERAL("table-spans.html"));
1124 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTextArea
) {
1125 RunHtmlTest(FILE_PATH_LITERAL("textarea.html"));
1128 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTime
) {
1129 RunHtmlTest(FILE_PATH_LITERAL("time.html"));
1132 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTitle
) {
1133 RunHtmlTest(FILE_PATH_LITERAL("title.html"));
1136 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityTransition
) {
1137 RunHtmlTest(FILE_PATH_LITERAL("transition.html"));
1140 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityUl
) {
1141 RunHtmlTest(FILE_PATH_LITERAL("ul.html"));
1144 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityVar
) {
1145 RunHtmlTest(FILE_PATH_LITERAL("var.html"));
1149 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, DISABLED_AccessibilityVideo
) {
1150 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1153 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest
, AccessibilityWbr
) {
1154 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1157 } // namespace content