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(Button.jsx): Forwarding disabled prop to button component #583

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

MarcosViniciusPC
Copy link
Contributor

Description

It was identified that the disabled prop that is passed to the component was being used only for aesthetic purposes and was not being passed to the button element, thus impacting the accessibility of the component. To test, access the regressive test, select button-disabled and check if the disabled attribute is present in the element through the DOM tree

Review guide

  • Unit tests
  • Regression
  • Code review

Copy link

sonarqubecloud bot commented Sep 9, 2024

@alizeleal alizeleal added status:reviewing Someone is reviewing this PR and removed status:ready to review labels Sep 10, 2024
@alizeleal alizeleal added status:approved and removed status:reviewing Someone is reviewing this PR labels Sep 10, 2024
@MarcosViniciusPC MarcosViniciusPC merged commit 17640f5 into beta Sep 10, 2024
3 checks passed
@MarcosViniciusPC MarcosViniciusPC deleted the fix/disabled-prop-button branch September 10, 2024 18:16
Copy link

🎉 This PR is included in version 10.0.0-beta.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants