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 code smell on switch component #3876

Open
alizedebray opened this issue Nov 4, 2024 · 0 comments
Open

Fix code smell on switch component #3876

alizedebray opened this issue Nov 4, 2024 · 0 comments
Labels
💜 accessibility 📦 documentation Related to the @swisspost/design-system-documentation package

Comments

@alizedebray
Copy link
Contributor

The switch documentation shows the following code smell: The attribute "aria-checked" is required by the role "switch".
https://sonarcloud.io/project/issues?pullRequest=3824&open=AZLoFPPzX_zWtYv13-zo&id=swisspost_common-web-frontend

@alizedebray alizedebray added 📦 documentation Related to the @swisspost/design-system-documentation package 💜 accessibility labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💜 accessibility 📦 documentation Related to the @swisspost/design-system-documentation package
Projects
Status: 👀 Triage
Development

No branches or pull requests

1 participant