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

fix(TreeView): add hcm styles for aria-current in TreeView #2492

Merged
merged 4 commits into from
Nov 1, 2022

Conversation

joshblack
Copy link
Member

@joshblack joshblack commented Oct 27, 2022

This addresses the HCM feedback from: https://github.com/github/primer/issues/1114#issuecomment-1292865037

TreeView uses the HighlightText keyword for aria-current and focus styles

Screen.Recording.2022-10-31.at.3.38.13.PM.mov

@joshblack joshblack requested review from a team and rezrah October 27, 2022 19:31
@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2022

🦋 Changeset detected

Latest commit: b154db4

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

@joshblack
Copy link
Member Author

@ericwbailey would love your feedback on what the best values would be for HCM here. Mainly have just been using keywords from: https://www.w3.org/TR/css-color-4/#css-system-colors or transparent outlines.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 78.14 KB (0%)
dist/browser.umd.js 78.79 KB (0%)

@joshblack joshblack temporarily deployed to github-pages October 27, 2022 19:39 Inactive
@joshblack joshblack temporarily deployed to github-pages October 31, 2022 20:47 Inactive
Copy link
Contributor

@ericwbailey ericwbailey left a comment

Choose a reason for hiding this comment

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

Heck yeah!

@colebemis colebemis merged commit cbf0ccf into main Nov 1, 2022
@colebemis colebemis deleted the fix/add-hcm-fix-for-aria-current branch November 1, 2022 16:39
@primer-css primer-css mentioned this pull request Nov 1, 2022
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.

None yet

3 participants