-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(octicons_react): remove role if aria-hidden #1007
Conversation
🦋 Changeset detectedLatest 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 |
There was a problem hiding this 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
This is a small changes that makes
role
conditional on ifaria-label
oraria-labelledby
is present. This is to avoid having botharia-hidden
androle
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