Skip to content
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

remove invalid namefrom contents expectations for li #45867

Conversation

cookiecrook
Copy link
Contributor

@cookiecrook cookiecrook commented Apr 24, 2024

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

Previous label tests assumed ARIA namefrom:contents was available on list item roles... There is an open ARIA issue #2160 that might clarify this, but for Interop 2024, these few test expectations did not match the current ARIA spec, so we're removing them.

@cookiecrook cookiecrook force-pushed the invalid-li-name-from-contents branch from d6ed648 to ee9e4d3 Compare April 24, 2024 05:01
<li data-expectedrole="listitem" data-expectedlabel="x" data-testname="listitem within ul with display: contents, as child of div with display: grid, has listitem role" class="ex-role-and-label">x</li>
<li data-expectedrole="listitem" data-testname="listitem within ul with display: contents, as child of div with display: grid, has listitem role" class="ex-role">x</li>
Copy link
Contributor Author

@cookiecrook cookiecrook Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewers, hopefully the diff is self-explanatory, but to explain the line-by-line CI results, you'll see the following:

  • 9 new role tests in the first section (testnames without a Label: or Role: prefix), then
  • 9 missing results in the "Label:"-prefixed test list, then
  • 9 missing results in the "Role:"-prefixed test list.

So the CI results look like 27 test changes, even though there are only 9 lines changed in the diff. It's just an artifact of the test name and ordering of the function calls.

HTH with the one confusing part of an otherwise straightforward review.

Copy link
Contributor

@nmlapre nmlapre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good :)

@cookiecrook cookiecrook merged commit 74f5eba into web-platform-tests:master Apr 24, 2024
19 checks passed
@cookiecrook cookiecrook deleted the invalid-li-name-from-contents branch April 24, 2024 22:12
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.

Remove invalid test re: listitem namefrom contents, as it does not align with the spec.
4 participants