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(octicons_react): remove role if aria-hidden #1007

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

joshblack
Copy link
Member

This is a small changes that makes role conditional on if aria-label or aria-labelledby is present. This is to avoid having both aria-hidden and role on the element at the same time.

This also updates the root package.json file so that contributors with yarn >2 don't mess with the lockfile locally

@joshblack joshblack requested a review from a team as a code owner March 4, 2024 19:44
@joshblack joshblack requested a review from tallys March 4, 2024 19:44
Copy link

changeset-bot bot commented Mar 4, 2024

🦋 Changeset detected

Latest commit: e98add7

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

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

Copy link
Member

@broccolinisoup broccolinisoup left a comment

Choose a reason for hiding this comment

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

Looks great 🎉

@@ -49,5 +49,6 @@
"github/no-then": 0,
"eslint-comments/no-use": 0
}
}
},
"packageManager": "yarn@1.22.1"
Copy link
Member

Choose a reason for hiding this comment

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

👍🏻

@joshblack joshblack requested a review from a team as a code owner March 13, 2024 15:28
@joshblack joshblack merged commit 79b9395 into main Mar 13, 2024
10 checks passed
@joshblack joshblack deleted the fix/remove-role-if-hidden branch March 13, 2024 16:12
@primer primer bot mentioned this pull request Mar 13, 2024
@siddharthkp siddharthkp mentioned this pull request Apr 4, 2024
4 tasks
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