Skip to content

Conversation

@janewman
Copy link
Contributor

This change simply adds some null checks to ensure that the test author specified expectation attributes, and if they did not, fails in such a way that the author could quickly fix.

Original, reverted PR: #49485
Difference from original: This change uses "hasAttribute" to ensure that this doesn't get triggered when attributes exist but contain empty strings. This came from a comment on the original PR.

Closes web-platform-tests/interop-accessibility#74

@janewman janewman changed the title Add null check to aria-utils to validate that Add null check to aria-utils checking for expected values are provided Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add error handling for missing attrs in aria-utils.js

3 participants