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 external classes from the the button content <span> in Primer::beta::Button #1428

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

bolonio
Copy link
Contributor

@bolonio bolonio commented Sep 30, 2022

Context

We (the accessibility team) are using the Primer::beta::Button for the QueryBuilder component. We’ve seen that the prop classes is applied both to the <button> element and the <span> element inside the <button> element.

Related Issue

Expected behavior

The prop classes should only be to the <button> element and not to the <span> element inside the <button> element.

@changeset-bot
Copy link

changeset-bot bot commented Sep 30, 2022

🦋 Changeset detected

Latest commit: f4d6e0a

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

This PR includes changesets to release 1 package
Name Type
@primer/view-components 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

@bolonio bolonio temporarily deployed to review-pr-1428 September 30, 2022 08:23 Inactive
@bolonio bolonio temporarily deployed to github-pages September 30, 2022 08:29 Inactive
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Thanks for this

@jonrohan jonrohan merged commit b7b0c8b into main Sep 30, 2022
@jonrohan jonrohan deleted the primer/issues/1320/primer-beta-button-classes branch September 30, 2022 14:06
@primer-css primer-css mentioned this pull request Sep 30, 2022
jonrohan pushed a commit that referenced this pull request Sep 30, 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.

3 participants