-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Tracker:
- Share draft documentation with @boazsender @cookiecrook (done Apr 28 2024)
- Determine publication platform (likely our GitHub Wiki page)
- Determine/publish updates to related ARIA testing documentation
- Determine if we need to merge this existing ARIA WPT documentation into the new document: https://github.com/w3c/aria/blob/main/documentation/wpt.md
@cookiecrook Consolidating general thoughts here on improving the quality/consistency of our WPT accessibility test files and providing supporting documentation for test authors (also to make it less daunting for WPT contributors). All feedback welcome! Happy to take this forward after you and other folks have provided input.
I know that detailed guidance is already captured here and this may be moved to web-platform-tests/interop-accessibility: Running the WPT Tests for ARIA and Related Specs.
- Writing tests, guidance and implementation practices
- Boilerplate comment header for all test files (e.g., "This file tests X...")
- Providing documentation links to relevant parts of a spec being tested
- Comment links to where relevant testing is located (and documentation scheme for referencing files in other locations)
- Naming
.htmltest files (usually after a spec's section) - Readability improvement guidance: e.g., alphabetization where possible, prescriptive order of element attributes (e.g.,
<div id="id" data-expectedtestname="someTest" data-expectedlabel="label">, spacing and indentation, etc. - Subtest names must be globally unique (the more descriptive the better)
idnaming scheme for elements/containers (e.g., many elements with uniqueids referenced viaaria-labelledby)- Performing HTML validation
- Using PR checks (primarily ensuring that lint is clean, removing whitespace)
- PR commit message (description and co-author attribution)
- Supporting documentation for test authors/maintainers
- Overview of the WPT project
- Understanding/viewing CI results
- More on testharness.js
- Index page with all a11y related tests (e.g., accname, wai-aria, core-arm, html-aam, svg-aam, etc.)
- WPT Debugging Q&A and common issues (e.g., troubleshooting bad data* attribute on test, non-unique test name, improper use of
aria-utilsutility functions) - Explainer for
aria-utils.jsand what it does
Reactions are currently unavailable