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

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 656293002: Fix MSAA+IA2 & AX for <header> tag and banner role (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 325
326 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaAtomic) { 326 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaAtomic) {
327 RunTest(FILE_PATH_LITERAL("aria-atomic.html")); 327 RunTest(FILE_PATH_LITERAL("aria-atomic.html"));
328 } 328 }
329 329
330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
331 AccessibilityAriaAutocomplete) { 331 AccessibilityAriaAutocomplete) {
332 RunTest(FILE_PATH_LITERAL("aria-autocomplete.html")); 332 RunTest(FILE_PATH_LITERAL("aria-autocomplete.html"));
333 } 333 }
334 334
335 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaBanner) {
336 RunTest(FILE_PATH_LITERAL("aria-banner.html"));
337 }
338
335 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCheckBox) { 339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCheckBox) {
336 RunTest(FILE_PATH_LITERAL("aria-checkbox.html")); 340 RunTest(FILE_PATH_LITERAL("aria-checkbox.html"));
337 } 341 }
338 342
339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 343 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
340 AccessibilityAriaColumnHeader) { 344 AccessibilityAriaColumnHeader) {
341 RunTest(FILE_PATH_LITERAL("aria-columnheader.html")); 345 RunTest(FILE_PATH_LITERAL("aria-columnheader.html"));
342 } 346 }
343 347
344 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree 348 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 } 601 }
598 602
599 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 603 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
600 RunTest(FILE_PATH_LITERAL("form.html")); 604 RunTest(FILE_PATH_LITERAL("form.html"));
601 } 605 }
602 606
603 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) { 607 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
604 RunTest(FILE_PATH_LITERAL("frameset.html")); 608 RunTest(FILE_PATH_LITERAL("frameset.html"));
605 } 609 }
606 610
611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
612 RunTest(FILE_PATH_LITERAL("header.html"));
613 }
614
607 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) { 615 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) {
608 RunTest(FILE_PATH_LITERAL("heading.html")); 616 RunTest(FILE_PATH_LITERAL("heading.html"));
609 } 617 }
610 618
611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) { 619 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) {
612 RunTest(FILE_PATH_LITERAL("hr.html")); 620 RunTest(FILE_PATH_LITERAL("hr.html"));
613 } 621 }
614 622
615 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { 623 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
616 RunTest(FILE_PATH_LITERAL("i.html")); 624 RunTest(FILE_PATH_LITERAL("i.html"));
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 868
861 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { 869 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) {
862 RunTest(FILE_PATH_LITERAL("ul.html")); 870 RunTest(FILE_PATH_LITERAL("ul.html"));
863 } 871 }
864 872
865 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 873 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
866 RunTest(FILE_PATH_LITERAL("wbr.html")); 874 RunTest(FILE_PATH_LITERAL("wbr.html"));
867 } 875 }
868 876
869 } // namespace content 877 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.cc ('k') | content/test/data/accessibility/aria-banner.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698