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: checkbox button semantic #5654

Merged
merged 8 commits into from
Nov 28, 2023
Merged

Conversation

deleonio
Copy link
Contributor

No description provided.

}

.button input {
display: none;
border: none !important;
Copy link
Member

Choose a reason for hiding this comment

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

Ich vermute das wird an der Stelle so gut funktionieren, ich hätte trotzdem ein paar Anmerkungen:

  • Ich fände es gut, klar zu machen was hier passiert - über einen Kommentar oder noch besser indem wir diese Styles in einer utility-Klasse verschieben (a11y.css, .visually-hidden?)
  • Die hier verwendete Technik kenne ich nicht, ich hatte in der Vergangenheit immer diesen Snippet verwendet und weiß, dass er sehr robust ist. Auch unabhängig von dem zu versteckenden Element.
  • Brauchen wir die !important-Deklarationen wirklich? Wir könnten auch sicher stellen, dass Themes die Styles nicht überschreiben, solche Styles wären dann sowieso redundant.

@deleonio deleonio merged commit 72f3239 into develop Nov 28, 2023
4 checks passed
@deleonio deleonio deleted the fix/checkbox-button-semantic-v2 branch November 28, 2023 16:30
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants