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

feat(components/atom/radioButton): add focus-visible #2783

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

andresin87
Copy link
Member

@andresin87 andresin87 commented Nov 28, 2024

atom/radioButton

add focus visible state to radio fields

TASK:

Description, Motivation and Context

Types of changes

  • 🪲 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧾 Documentation
  • 📷 Demo
  • 🧪 Test
  • 🧠 Refactor
  • 💄 Styles
  • 🛠️ Tool

Screenshots - Animations

Copy link

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0= ≍ 0= ≍ 0= ≍ 0=
% 75.88 63.97 65.7 77.66
ABS 3367 / 4437 2062 / 3223 657 / 1000 3188 / 4105

@@ -31,4 +31,8 @@ $base-class: '.sui-AtomRadioButton';
border-color: $bc-atom-radiobutton-disabled;
cursor: not-allowed;
}

&:focus-visible {
outline: 2px solid transparentize($c-primary, 0.6);
Copy link
Member Author

Choose a reason for hiding this comment

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

same rule as checkbox

@andresin87 andresin87 added this to the a11y milestone Nov 28, 2024
@andresin87 andresin87 merged commit 7f39d45 into master Nov 28, 2024
7 checks passed
@andresin87 andresin87 deleted the radioButton-focus-visible branch November 28, 2024 09:48
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