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

Revert "Add aria-selected value to ActionList.Item." #3784

Merged

Conversation

radglob
Copy link
Contributor

@radglob radglob commented Oct 2, 2023

This reverts commit 242c634.

There was some disagreement about how ActionList items should announce if they're selected or not. There's a functional difference between an item being "selected" (the user is currently focused on it) and "checked" (the option was previously chosen and is active). We want to communicate the former, but the aria-selected attribute is the incorrect way to do this.

This should not impact anything major in dotcom, as both changes were internal to the component, and did not require any changes by consumers.

@radglob radglob requested review from a team and josepmartins October 2, 2023 20:04
@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2023

🦋 Changeset detected

Latest commit: e96d863

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 104.53 KB (-0.02% 🔽)
dist/browser.umd.js 105.11 KB (-0.02% 🔽)

@radglob radglob temporarily deployed to github-pages October 2, 2023 20:11 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3784 October 2, 2023 20:12 Inactive
@radglob radglob temporarily deployed to github-pages October 2, 2023 20:23 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3784 October 2, 2023 20:23 Inactive
@lesliecdubs
Copy link
Member

@joshblack could you please give this a review when you have a moment and, if all looks good to you and tests pass, merge on behalf of @radglob? Thank you 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants