-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
As part of work happening in Accessibility Compat Data, we are creating a dataset to highlight the availability of web features specifically for accessibility interoperability. After discussing with the WPT Accessibility sub-group, it was suggested that we may be able to use the current WPT tests for the browser portion of the support data; however, the current wpt.fyi API doesn't provide enough granularity for the results we need.
The wpt.fyi API returns results at the file level. When a file contains multiple tests, there's no way to query results for a specific test within that file. I'd like to propose that we split multi-test files into individual files based on the HTML element being tested. For example, in the accname tests, the current structure is: accname/name/comp_label.html
I'm proposing: accname/name/comp_label/button.html, accname/name/comp_label/input.html, accname/name/comp_label/a.html, etc.
This would enable precise per-test result querying and make it easier to track specific test outcomes across browser versions.
I'd love to know if there are there concerns with this approach, or if there are alternative ways to expose individual test results through the API? @cookiecrook mentioned that there may have been previous discussions about exposing specific tests to the API if I remember correctly?