-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Create keyboard testing utilities (/common/keyboard-utils.js) #44347
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it normal for utilities to actually be test function wrappers? That seems a bit weird to me.
I would expect that to more clearly show up in the name of the functions you call.
E.g., test_elements_are_focusable
instead of verifyElementsAreFocusable
.
This resembles some utilities that have recently been introduced for testing accessibility primitives. Since we're currently combatting some technical debt in that initial design, it may be wise to address those concerns here in this introductory patch before tests begin to rely on it. |
I sought to align with aria-utils.js to make test creation easier. @cookiecrook Thoughts? |
Thanks for bringing attention to this, @jugglinmike! There's an additional argument for both It sounds like the subtest count PR might be blocking for this one, right? Tagging @cookiecrook for input and thoughts on direction. |
Initial PR to address keyboard accessibility utils for accessibility-focused WPT tests: web-platform-tests/interop-accessibility#101