From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/wai-aria/role/ReadMe.md | 16 +++ .../tests/wai-aria/role/abstract-roles.html | 36 +++++ .../web-platform/tests/wai-aria/role/basic.html | 33 +++++ .../tests/wai-aria/role/button-roles.html | 32 +++++ .../tests/wai-aria/role/contextual-roles.html | 91 ++++++++++++ .../tests/wai-aria/role/fallback-roles.html | 57 ++++++++ .../tests/wai-aria/role/form-roles.html | 28 ++++ .../tests/wai-aria/role/generic-roles.html | 23 +++ .../tests/wai-aria/role/grid-roles.html | 59 ++++++++ .../tests/wai-aria/role/invalid-roles.html | 135 ++++++++++++++++++ .../tests/wai-aria/role/list-roles.html | 29 ++++ .../tests/wai-aria/role/listbox-roles.html | 43 ++++++ .../tests/wai-aria/role/menu-roles.html | 82 +++++++++++ .../tests/wai-aria/role/region-roles.html | 27 ++++ .../role/role_none_conflict_resolution.html | 38 +++++ .../web-platform/tests/wai-aria/role/roles.html | 140 ++++++++++++++++++ .../tests/wai-aria/role/synonym-roles.html | 34 +++++ .../tests/wai-aria/role/tab-roles.html | 94 +++++++++++++ .../tests/wai-aria/role/table-roles.html | 156 +++++++++++++++++++++ .../tests/wai-aria/role/tree-roles.html | 150 ++++++++++++++++++++ 20 files changed, 1303 insertions(+) create mode 100644 testing/web-platform/tests/wai-aria/role/ReadMe.md create mode 100644 testing/web-platform/tests/wai-aria/role/abstract-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/basic.html create mode 100644 testing/web-platform/tests/wai-aria/role/button-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/contextual-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/fallback-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/form-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/generic-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/grid-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/invalid-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/list-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/listbox-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/menu-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/region-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/role_none_conflict_resolution.html create mode 100644 testing/web-platform/tests/wai-aria/role/roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/synonym-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/tab-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/table-roles.html create mode 100644 testing/web-platform/tests/wai-aria/role/tree-roles.html (limited to 'testing/web-platform/tests/wai-aria/role') diff --git a/testing/web-platform/tests/wai-aria/role/ReadMe.md b/testing/web-platform/tests/wai-aria/role/ReadMe.md new file mode 100644 index 0000000000..eb89da7846 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/ReadMe.md @@ -0,0 +1,16 @@ + +# WPT Roles Tests + +/wai-aria/roles/ includes various files broken up by test type + +- **roles.html** covers simple assignment/verification of most core WAI-ARIA roles, and includes a list of cross-references to other specific files and spec directories. +- role testing of *host language* implicit roles (E.g., `
-> main`) are in other directories (E.g., [html-aam](https://github.com/web-platform-tests/interop-accessibility/issues/13)) +- role testing of **ARIA extension specs** are in other directories (E.g., [graphics-aria](https://github.com/web-platform-tests/interop-accessibility/issues/9)) +- basic.html was the first to ensure basic test coverage of webdriver getcomputedrole +- other context-dependent role tests, error handling, and edge cases are covered in separate files + - list-roles.html + - region-roles.html + - grid, listbox, menu, tree, etc + - fallback roles + - invalid roles + - error handling, etc. diff --git a/testing/web-platform/tests/wai-aria/role/abstract-roles.html b/testing/web-platform/tests/wai-aria/role/abstract-roles.html new file mode 100644 index 0000000000..520ecf2dbb --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/abstract-roles.html @@ -0,0 +1,36 @@ + + + + Abstract Role Verification Tests + + + + + + + + + + +

Tests Abstract Roles and related 9.1 Roles - handling author errors

+ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/basic.html b/testing/web-platform/tests/wai-aria/role/basic.html new file mode 100644 index 0000000000..5fbe1fe2aa --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/basic.html @@ -0,0 +1,33 @@ + + + + + + + + + +
+

test heading

+ diff --git a/testing/web-platform/tests/wai-aria/role/button-roles.html b/testing/web-platform/tests/wai-aria/role/button-roles.html new file mode 100644 index 0000000000..23d0cd22d6 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/button-roles.html @@ -0,0 +1,32 @@ + + + + Button-related Role Verification Tests + + + + + + + + + +

Tests button and related roles.

+ +
+
+
+
+
+
+
+
+
+
+ + + + + diff --git a/testing/web-platform/tests/wai-aria/role/contextual-roles.html b/testing/web-platform/tests/wai-aria/role/contextual-roles.html new file mode 100644 index 0000000000..90b1842f08 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/contextual-roles.html @@ -0,0 +1,91 @@ + + + + Contextual Role Verification Tests + + + + + + + + + +

Verifies Required Accessibility Parent Roles from 5.2.7 Required Accessibility Parent Role

+

Also verifies Allowed Accessibility Child Roles from 5.2.6 Allowed Accessibility Child Roles

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
x
+ +
+ +
x
+ + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/fallback-roles.html b/testing/web-platform/tests/wai-aria/role/fallback-roles.html new file mode 100644 index 0000000000..98011570b4 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/fallback-roles.html @@ -0,0 +1,57 @@ + + + + Fallback Role Verification Tests + + + + + + + + + +

Tests 8.1 Role Attribute role token list selection and 9.1 Roles - handling author errors.

+ + + + + + +
x
+ + +
x
+ + + x + + + +
x
+
x
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/invalid-roles.html b/testing/web-platform/tests/wai-aria/role/invalid-roles.html new file mode 100644 index 0000000000..3f4255083e --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/invalid-roles.html @@ -0,0 +1,135 @@ + + + + Invalid Role Verification Tests + + + + + + + + + + +

Tests invalid ARIA roles from 9.1 Roles - handling author errors.

+ + + + + + + + + + + + +x +x +x +
x
+
x
+
x
+ + + + + + + + + + + + +x +x +x +x +x +x +x +x + + + x + x + x + x + x + x + x + + +x +x +x +x +x +x +x + + +
x
+
x
+
x
+
x
+ + + + + + + + + + + + + +x +x +x +x + + + + + + + + +
x
+
x
+
x
+
x
+ + +x +x + + +x +x +x +x + + + + + + + +x +x +x + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/list-roles.html b/testing/web-platform/tests/wai-aria/role/list-roles.html new file mode 100644 index 0000000000..71c672c601 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/list-roles.html @@ -0,0 +1,29 @@ + + + + List-related Role Verification Tests + + + + + + + + + +

Tests list and related roles.

+ +
+
x
+
x
+
+ +
x
+

x

+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/listbox-roles.html b/testing/web-platform/tests/wai-aria/role/listbox-roles.html new file mode 100644 index 0000000000..5020822927 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/listbox-roles.html @@ -0,0 +1,43 @@ + + + + Listbox-related Role Verification Tests + + + + + + + + + +

Tests listbox and related roles.

+ +
+
x
+
+ x + x +
+
x
+
+ +
    +
  • + x +
  • +
  • + x +
  • +
+ + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/menu-roles.html b/testing/web-platform/tests/wai-aria/role/menu-roles.html new file mode 100644 index 0000000000..4af4d8d2ff --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/menu-roles.html @@ -0,0 +1,82 @@ + + + + Menu-related Role Verification Tests + + + + + + + + + + +

Tests menu and related roles.

+ + + + + + + + + + + + + +
x
+ + +
x
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/region-roles.html b/testing/web-platform/tests/wai-aria/role/region-roles.html new file mode 100644 index 0000000000..d80570a97b --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/region-roles.html @@ -0,0 +1,27 @@ + + + + Region Role Verification Tests + + + + + + + + + +

Tests region and related roles, as well as the "name from author" rule in 9.1 Roles - handling author errors.

+ + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/role_none_conflict_resolution.html b/testing/web-platform/tests/wai-aria/role/role_none_conflict_resolution.html new file mode 100644 index 0000000000..9e2ee6ccfe --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/role_none_conflict_resolution.html @@ -0,0 +1,38 @@ + + + + Role None Conflict Resolution Verification Tests + + + + + + + + + +

Verifies conflict resolution requirements for the ARIA none and presentation roles.

+ + +

x

+ + +

x

+

x

+ + +

x

+

x

+

x

+ + +

Sample Content

+ + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/roles.html b/testing/web-platform/tests/wai-aria/role/roles.html new file mode 100644 index 0000000000..844da3ce47 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/roles.html @@ -0,0 +1,140 @@ + + + + Simple Core ARIA Role Verification Tests + + + + + + + + + +

Tests most ARIA role definitions. See comments for more info.

+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/synonym-roles.html b/testing/web-platform/tests/wai-aria/role/synonym-roles.html new file mode 100644 index 0000000000..f9d3d7d0a9 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/synonym-roles.html @@ -0,0 +1,34 @@ + + + + Region Role Verification Tests + + + + + + + + + +

Tests synonym roles image/img and none/presentation via Core-AAM Computed Role.

+ + + +
x
+ + +
x
+ + + +
  • x
+
  • x
+
x
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/tab-roles.html b/testing/web-platform/tests/wai-aria/role/tab-roles.html new file mode 100644 index 0000000000..e3d14741c8 --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/tab-roles.html @@ -0,0 +1,94 @@ + + + + Tab-related Role Verification Tests + + + + + + + + + +

Tests tab and related roles.

+ + +
+ +
+
+ + +
+ + +
+
+
+ + +
+ + + +
+
+
+
+ + +
+ + +
+
Tab one's stuff
+
Tab two's stuff
+ + +
+ + +
+
Tab one's stuff
+
Tab one's stuff
+ + +
+
+ + + +
    +
  • + +
  • +
  • + +
  • +
+
Tab one's stuff
+
Tab two's stuff
+ + +
    +
  • + +
  • +
  • + +
  • +
+
Tab one's stuff
+
Tab two's stuff
+ + + +x + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/table-roles.html b/testing/web-platform/tests/wai-aria/role/table-roles.html new file mode 100644 index 0000000000..6ffb94218d --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/table-roles.html @@ -0,0 +1,156 @@ + + + + Table Role Verification Tests + + + + + + + + +

Tests table and related roles.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
x
+
+ +

x

+ + +
+
+
+ x + x +
+
+
+
+ x + x +
+
+
+ + x + + +
+
+
+ x + x + x +
+
+
+
+ x + x + x +
+
+
+ + + + +
+
+
+ x +
+
+
+
+ x +
+
+
+ + + + +
+
+
+ x + x +
+
+
+
+ x + x +
+
+
+ + + + +
+
+
+ x + x + x +
+
+
+
+ x + x + x + x +
+
+
+ + + + +
+
+ x + x +
+
+ x + x +
+
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/wai-aria/role/tree-roles.html b/testing/web-platform/tests/wai-aria/role/tree-roles.html new file mode 100644 index 0000000000..eb1084040d --- /dev/null +++ b/testing/web-platform/tests/wai-aria/role/tree-roles.html @@ -0,0 +1,150 @@ + + + + Tree related Role Verification Tests + + + + + + + + + + +

Tests tree and related roles.

+ +
    +
  • + x +
      +
    • x
    • +
    • x
    • +
    +
  • +
  • x
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
xxx
xxx
+ + + + + + + + \ No newline at end of file -- cgit v1.2.3