From bded8855dd0562f7be7145f9b3fe02d43bf1a8d2 Mon Sep 17 00:00:00 2001 From: Valerie Young Date: Tue, 30 Apr 2024 17:18:04 -0700 Subject: [PATCH 01/38] Extend testdriver to add accessibility API testing --- .../aria-autocomplete.tentative.html | 133 +++++++ .../aria-braillelabel.tentative.html | 64 ++++ .../aria-errormessage.tentative.html | 78 ++++ core-aam/role/blockquote.tentative.html | 82 ++++ ...a-pressed_and_aria-haspopup.tentative.html | 76 ++++ ...ined_value_for_aria-pressed.tentative.html | 73 ++++ ...lse_value_for_aria-haspopup.tentative.html | 114 ++++++ core-aam/scripts/aam-utils.js | 53 +++ resources/testdriver.js | 22 ++ tools/wpt/run.py | 3 +- .../wptrunner/wptrunner/executors/actions.py | 18 +- .../wptrunner/executors/executormarionette.py | 5 +- .../executorplatformaccessibility.py | 52 +++ .../wptrunner/executors/executorwebdriver.py | 8 +- .../platformaccessibility/__init__.py | 0 .../platformaccessibility/executoratspi.py | 355 ++++++++++++++++++ .../platformaccessibility/executoraxapi.py | 148 ++++++++ .../executorwindowsaccessibility.py | 149 ++++++++ .../platformaccessibility/ia2/constants.py | 344 +++++++++++++++++ .../platformaccessibility/ia2/ia2_api_all.tlb | Bin 0 -> 29016 bytes tools/wptrunner/wptrunner/testdriver-extra.js | 9 +- tools/wptrunner/wptrunner/testrunner.py | 12 +- tools/wptrunner/wptrunner/wptcommandline.py | 2 + tools/wptrunner/wptrunner/wptrunner.py | 3 +- 24 files changed, 1791 insertions(+), 12 deletions(-) create mode 100644 core-aam/attribute/aria-autocomplete.tentative.html create mode 100644 core-aam/attribute/aria-braillelabel.tentative.html create mode 100644 core-aam/attribute/aria-errormessage.tentative.html create mode 100644 core-aam/role/blockquote.tentative.html create mode 100644 core-aam/role/button_with_default_values_for_aria-pressed_and_aria-haspopup.tentative.html create mode 100644 core-aam/role/button_with_defined_value_for_aria-pressed.tentative.html create mode 100644 core-aam/role/button_with_non_false_value_for_aria-haspopup.tentative.html create mode 100644 core-aam/scripts/aam-utils.js create mode 100644 tools/wptrunner/wptrunner/executors/executorplatformaccessibility.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/__init__.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/executoratspi.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/executoraxapi.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/executorwindowsaccessibility.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/ia2/constants.py create mode 100644 tools/wptrunner/wptrunner/executors/platformaccessibility/ia2/ia2_api_all.tlb diff --git a/core-aam/attribute/aria-autocomplete.tentative.html b/core-aam/attribute/aria-autocomplete.tentative.html new file mode 100644 index 00000000000000..248ae23a4238f1 --- /dev/null +++ b/core-aam/attribute/aria-autocomplete.tentative.html @@ -0,0 +1,133 @@ + + + + + aria-braillelabel + + + + + + + + + +

+ This test is marked tentative because it uses an experimental testing API + that is presently under development. +

+ + + + + + + + + diff --git a/core-aam/attribute/aria-braillelabel.tentative.html b/core-aam/attribute/aria-braillelabel.tentative.html new file mode 100644 index 00000000000000..0bed0de7dc96aa --- /dev/null +++ b/core-aam/attribute/aria-braillelabel.tentative.html @@ -0,0 +1,64 @@ + + + + + aria-braillelabel + + + + + + + + + +

+ This test is marked tentative because it uses an experimental testing API + that is presently under development. +

+ +