You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose all the computeAriaXXX functions from role-helpers to provide greater flexibility for test authoring. This would enable writing tests like this:
Here, we combine the verification of the order and the specific ARIA properties for each option into a single expectation. Otherwise, it would require at least two steps to achieve the same result.
I noticed indeed that name and description were already available. But I was talking about the other helpers such as computeAriaSelected (see src/role-helpers.js)
Missed that, sorry.
IMO this should also probably be exported from DOM-accessibility-api and shouldn't live in our repo.
I currently don't have the capacity to move that functionality there but I do think that we should do it.
Describe the feature you'd like:
Expose all the
computeAriaXXX
functions from role-helpers to provide greater flexibility for test authoring. This would enable writing tests like this:Here, we combine the verification of the order and the specific ARIA properties for each option into a single expectation. Otherwise, it would require at least two steps to achieve the same result.
The text was updated successfully, but these errors were encountered: