Open jlp-craigmorten opened 7 months ago
Latest commit: eb37052c04a294e47b8f1ac070502ff6c42b8741
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Resolves #1045
Updates the WPT submodule and tests.
jsdom
For the jsdom suite, i've included a (non-exhaustive) set of specs that are relevant to this package in their scope regarding accessible name, description, and role calculation:
The current status of the WPT coverage is:
Where "Skipped" includes a combination of both relevant and irrelevant tests, but for a practical test runtime it is pragmatic to skip instead of having an expected failure.
I have opted to equate a
null
return from this package (e.g. fromgetRole()
) to be the equivalent of an empty role""
which eliminates a number of failures (for expected generic or presentational roles). If this normalization is misrepresentative I can remove.browser
For the Cypress based suite I've made the necessary changes so that the tests run, but have not extended the suite to cover the additional accname (or other spec) tests that have been introduced since the last refresh for this setup.