-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discuss how to break up the computedlabel tests in wpt/accname (to verify AccName computation) #190
Comments
@jaragunde I see you added a lot of label tests to Chromium recently (video). I wanted to make sure you're aware that many of these can be run in WPT now. Please join the discussion with ARIA WG AccName meetings and/or watch the https://github.com/web-platform-tests/interop-2023-accessibility-testing/issues repo. |
some links: chromium accname tests: https://source.chromium.org/chromium/chromium/src/+/main:content/test/data/accessibility/accname/ wpt accname tests: https://github.com/web-platform-tests/wpt/tree/master/accname/manual |
@spectranaut I don't believe we should worry about the WPT manual accname tests for this effort. Let's focus on the new automation capability. |
heyy sorry I'm a bit confused, I really don't understand what you are asking. You want to write tests for accname using the webdriver computedlabel in WPT, correct? And this issue is to discuss a plan for how to do it? If so, we could start by transforming existing tests in chrome or the existing "manual" tests in WPT, but maybe you mean we should write them from scratch? |
@spectranaut wrote:
This makes sense to me and is part of why I copied in @jaragunde.
I think we should review those as a last step to check for edge cases we don't catch in the first round of automated testing. But in general, I think we could aim for:
Then again, if there aren't any strong opinions, I'll just start adding tests in the format how they make the most sense to me. If so, we can close this issue. |
Here's where I'm headed, based on the permalink IDs in the algorithm. Each heading below will be an individual test file. The No-Ops will not be tested. comp_init (No-Op, No-Test) comp_hidden_not_referenced.htmlcomp_labelledby.html
comp_embedded_control.html
comp_label.htmlcomp_host_language_label.htmlcomp_name_from_content.html
comp_text_node.htmlcomp_recursive_name_from_content.htmlcomp_tooltip.htmlcomp_append (No-Op) |
In case it's useful later, I created a list of the accname tests in Chromium and when they were added, so we can differentiate the ones that Joanmarie imported from the work group and the ones that were added later by Chromium devs. It also lists when the expectations were last modified, to know if the test needed changing from the original and why. Info here: https://docs.google.com/spreadsheets/d/1cXaNgsraAQwVAfYPMuaeayoyAG-5pnztrMjewrK0mpY/edit?usp=sharing |
Discuss how to break up the automated computedlabel tests in wpt/accname to verify AccName computation related to testdriver implementation.
See also the resource utilities in wpt/wai-aria/scripts/aria-utils.js after WPT PR #38925 lands.
The text was updated successfully, but these errors were encountered: