gecko-dev/testing/web-platform/tests/core-aam
James Graham cb002400b9 Bug 1402002 - Update web-platform-tests to revision b88862e6e574c2116f8efea0e982f6776a3c4b22, a=testonly
MozReview-Commit-ID: FlhL7aMvsiY


--HG--
rename : testing/web-platform/tests/clipboard/OWNERS => testing/web-platform/tests/clipboard-apis/OWNERS
rename : testing/web-platform/tests/css-font-display/font-display-ref.html => testing/web-platform/tests/css-fonts/font-display/font-display-ref.html
rename : testing/web-platform/tests/css-font-display/font-display.html => testing/web-platform/tests/css-fonts/font-display/font-display.html
rename : testing/web-platform/tests/css/css-logical-properties-1/OWNERS => testing/web-platform/tests/css/css-logical-1/OWNERS
rename : testing/web-platform/tests/css/css-logical-props-1/cascading-001-ref.html => testing/web-platform/tests/css/css-logical-1/cascading-001-ref.html
rename : testing/web-platform/tests/css/css-logical-props-1/cascading-001.html => testing/web-platform/tests/css/css-logical-1/cascading-001.html
rename : testing/web-platform/tests/css/css-logical-properties-1/logicalprops-block-size-vlr.html => testing/web-platform/tests/css/css-logical-1/logicalprops-block-size-vlr.html
rename : testing/web-platform/tests/css/css-logical-properties-1/logicalprops-block-size.html => testing/web-platform/tests/css/css-logical-1/logicalprops-block-size.html
rename : testing/web-platform/tests/css/css-logical-properties-1/logicalprops-inline-size-vlr.html => testing/web-platform/tests/css/css-logical-1/logicalprops-inline-size-vlr.html
rename : testing/web-platform/tests/css/css-logical-properties-1/logicalprops-inline-size.html => testing/web-platform/tests/css/css-logical-1/logicalprops-inline-size.html
rename : testing/web-platform/tests/css/css-logical-properties-1/resources/style-check.js => testing/web-platform/tests/css/css-logical-1/resources/style-check.js
rename : testing/web-platform/tests/payment-request/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html => testing/web-platform/tests/feature-policy/payment-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html
rename : testing/web-platform/tests/payment-request/payment-allowed-by-feature-policy-attribute.https.sub.html => testing/web-platform/tests/feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html
rename : testing/web-platform/tests/payment-request/payment-allowed-by-feature-policy.https.sub.html => testing/web-platform/tests/feature-policy/payment-allowed-by-feature-policy.https.sub.html
rename : testing/web-platform/tests/payment-request/payment-allowed-by-feature-policy.https.sub.html.headers => testing/web-platform/tests/feature-policy/payment-allowed-by-feature-policy.https.sub.html.headers
rename : testing/web-platform/tests/payment-request/payment-default-feature-policy.https.sub.html => testing/web-platform/tests/feature-policy/payment-default-feature-policy.https.sub.html
rename : testing/web-platform/tests/payment-request/payment-disabled-by-feature-policy.https.sub.html => testing/web-platform/tests/feature-policy/payment-disabled-by-feature-policy.https.sub.html
rename : testing/web-platform/tests/payment-request/payment-disabled-by-feature-policy.https.sub.html.headers => testing/web-platform/tests/feature-policy/payment-disabled-by-feature-policy.https.sub.html.headers
rename : testing/web-platform/tests/payment-request/payment-request-update-event-constructor.http.html => testing/web-platform/tests/payment-request/PaymentRequestUpdateEvent/constructor.http.html
rename : testing/web-platform/tests/payment-request/payment-request-update-event-updatewith-method.https.html => testing/web-platform/tests/payment-request/PaymentRequestUpdateEvent/updatewith-method.https.html
2017-09-21 16:41:28 +01:00
..
OWNERS
README.md
alert-manual.html
alertdialog-manual.html
application-manual.html
aria-atomic_false-manual.html
aria-atomic_true-manual.html
aria-autocomplete_both_new-manual.html
aria-autocomplete_inline_new-manual.html
aria-autocomplete_list_new-manual.html
aria-busy_false-manual.html
aria-busy_true-manual.html
aria-checked_false_on_checkbox-manual.html
aria-checked_false_on_menuitemradio-manual.html
aria-checked_mixed-manual.html
aria-checked_true_on_checkbox-manual.html
aria-checked_true_on_menuitemradio-manual.html
aria-colcount_new-manual.html
aria-colindex_new-manual.html
aria-colspan_new-manual.html
aria-controls-manual.html
aria-current_with_non-false_allowed_value_new-manual.html
aria-current_with_unrecognized_value_new-manual.html
aria-describedby-manual.html
aria-details_new-manual.html
aria-disabled_false-manual.html
aria-disabled_true-manual.html
aria-dropeffect_copy-manual.html
aria-dropeffect_execute-manual.html
aria-dropeffect_link-manual.html
aria-dropeffect_move-manual.html
aria-dropeffect_none-manual.html
aria-dropeffect_popup-manual.html
aria-errormessage-manual.html
aria-expanded_false-manual.html
aria-expanded_true-manual.html
aria-flowto-manual.html
aria-grabbed_false-manual.html
aria-grabbed_true-manual.html
aria-haspopup_dialog_new-manual.html
aria-haspopup_false-manual.html
aria-haspopup_listbox_new-manual.html
aria-haspopup_menu_new-manual.html
aria-haspopup_tree_new-manual.html
aria-haspopup_true-manual.html
aria-hidden_true-manual.html
aria-invalid_false-manual.html
aria-invalid_grammar-manual.html
aria-invalid_spelling-manual.html
aria-invalid_true-manual.html
aria-invalid_with_unrecognized_value-manual.html
aria-keyshortcuts_new-manual.html
aria-label-manual.html
aria-labelledby-manual.html
aria-level_on_heading_new-manual.html
aria-level_on_non-heading-manual.html
aria-live_assertive-manual.html
aria-live_off-manual.html
aria-live_polite-manual.html
aria-modal_false_new-manual.html
aria-modal_true_new-manual.html
aria-multiline_false-manual.html
aria-multiline_true-manual.html
aria-multiselectable_false-manual.html
aria-multiselectable_true-manual.html
aria-orientation_horizontal-manual.html
aria-orientation_undefined_new-manual.html
aria-orientation_vertical-manual.html
aria-owns_may_need_manual_verification-manual.html
aria-placeholder_new-manual.html
aria-posinset-manual.html
aria-pressed_false-manual.html
aria-pressed_mixed-manual.html
aria-pressed_true-manual.html
aria-readonly_false-manual.html
aria-readonly_is_unspecified_on_gridcell_new-manual.html
aria-readonly_true_on_checkbox-manual.html
aria-readonly_true_on_radiogroup-manual.html
aria-readonly_true_on_textbox-manual.html
aria-relevant-manual.html
aria-required_true-manual.html
aria-roledescription_is_empty_or_whitespace_characters_new-manual.html
aria-roledescription_new-manual.html
aria-rowcount_new-manual.html
aria-rowindex_new-manual.html
aria-rowspan_new-manual.html
aria-selected_false-manual.html
aria-selected_true-manual.html
aria-setsize_-1-manual.html
aria-setsize_3-manual.html
aria-sort_ascending-manual.html
aria-sort_descending-manual.html
aria-sort_none-manual.html
aria-sort_other-manual.html
aria-valuemax-manual.html
aria-valuemin-manual.html
aria-valuenow-manual.html
aria-valuetext-manual.html
article-manual.html
banner_new-manual.html
button_with_aria-haspopup_dialog_new-manual.html
button_with_aria-haspopup_true_new-manual.html
button_with_default_values_for_aria-pressed_and_aria-haspopup-manual.html
button_with_defined_value_for_aria-pressed-manual.html
cell_new-manual.html
checkbox-manual.html
columnheader-manual.html
combobox-manual.html
complementary_new-manual.html
contentinfo_new-manual.html
definition-manual.html
dialog-manual.html
directory-manual.html
document-manual.html
feed_new-manual.html
figure_new-manual.html
form_new-manual.html
grid-manual.html
gridcell-manual.html
group-manual.html
heading-manual.html
img-manual.html
link-manual.html
list-manual.html
listbox_not_owned_by_or_child_of_combobox-manual.html
listbox_owned_by_or_child_of_combobox-manual.html
listitem-manual.html
log-manual.html
main_new-manual.html
marquee-manual.html
math-manual.html
menu-manual.html
menubar-manual.html
menuitem_not_owned_by_or_child_of_group-manual.html
menuitem_owned_by_or_child_of_group-manual.html
menuitemcheckbox-manual.html
menuitemradio-manual.html
navigation_new-manual.html
none_new-manual.html
note-manual.html
option_inside_combobox-manual.html
option_not_inside_combobox-manual.html
presentation-manual.html
progressbar-manual.html
radio-manual.html
radiogroup-manual.html
region_with_an_accessible_name_new-manual.html
region_without_an_accessible_name_new-manual.html
row_inside_treegrid-manual.html
row_not_inside_treegrid-manual.html
rowgroup-manual.html
rowheader-manual.html
scrollbar-manual.html
search_new-manual.html
searchbox_new-manual.html
separator_focusable_new-manual.html
separator_non-focusable-manual.html
slider-manual.html
spinbutton-manual.html
status-manual.html
switch_new-manual.html
tab-manual.html
table_new-manual.html
tablist-manual.html
tabpanel-manual.html
term_new-manual.html
textbox_when_aria-multiline_is_false-manual.html
textbox_when_aria-multiline_is_true-manual.html
timer-manual.html
toolbar-manual.html
tooltip-manual.html
tree-manual.html
treegrid-manual.html
treeitem-manual.html

README.md

core-aam: Tests for the Core Accessibility API Mappings Recommendation

The Core Accessibility API Mappings Recommendation describes how user agents should expose semantics of web content languages to accessibility APIs. This helps users with disabilities to obtain and interact with information using assistive technologies. Documenting these mappings promotes interoperable exposure of roles, states, properties, and events implemented by accessibility APIs and helps to ensure that this information appears in a manner consistent with author intent.

The purpose of these tests is to help ensure that user agents support the requirements of the Recommendation.

The general approach for this testing is to enable both manual and automated testing, with a preference for automation.

Running Tests

In order to run these tests in an automated fashion, you will need to have a special Assistive Technology Test Adapter (ATTA) for the platform under test. We will provide a list of these for popular platforms here as they are made available.

The ATTA will monitor the window under test via the platforms Accessibility Layer, forwarding information about the Accessibility Tree to the running test so that it can evaluate support for the various features under test.

The workflow for running these tests is something like:

  1. Start up the ATTA for the platform under test.
  2. Start up the test driver window, select the core-aam tests to be run, and click "Start"
  3. A window pops up that shows a test, the description of which tells the tester what is being tested. In an automated test, the test will proceed without user intervention. In a manual test, some user input or verification may be required.
  4. The test runs. Success or failure is determined and reported to the test driver window, which then cycles to the next test in the sequence.
  5. Repeat steps 2-4 until done.
  6. Download the JSON format report of test results, which can then be visually inspected, reported on using various tools, or passed on to W3C for evaluation and collection in the Implementation Report via github.

Remember that while these tests are written to help exercise implementations, their other (important) purpose is to increase confidence that there are interoperable implementations. So, implementers are the audience, but these tests are not meant to be a comprehensive collection of tests for a client that might implement the Recommendation.

Capturing and Reporting Results

As tests are run against implementations, if the results of testing are submitted to test-results then they will be automatically included in documents generated by wptreport. The same tool can be used locally to view reports about recorded results.