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

Switch - Removed labelOff prop #672

Closed
thatblindgeye opened this issue Jun 24, 2024 · 0 comments · Fixed by #686
Closed

Switch - Removed labelOff prop #672

thatblindgeye opened this issue Jun 24, 2024 · 0 comments · Fixed by #686
Assignees
Labels

Comments

@thatblindgeye
Copy link
Collaborator

Follow up to breaking change PR patternfly/patternfly-react#10646

We're removing the labelOff prop to aid in preventing dynamic Switch labels that can worsen a11y. In addition we're adding the role="switch" to the input.

Required actions:

  1. Build codemod
  2. Build test
  3. Update readme with description & example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants