Toggle Switch, Checkbox, Radio Group - adjust component documentation #1071
Labels
⭕ core team issue
This is for the core team and should not be done by contributors
⌨️ dev issue
Task is for developers
🎓 junior issue
Good for juniors
Description / User story
The "ariaLabel" prop is not placed correctly in the props panel of the Toggle Switch, it should be placed in the section "Accessibility" right after the "States" section. Also the prop has the following description: "Provides additional information about the elements purpose and functionality to assistive technologies, such as screen readers."
The "indeterminatedIcon" prop has been renamed to "indeterminateIcon" for the Checkbox (also in the props panel).
The "legend" prop in the Radio Group should only be displayed in the prop pannel if hasLegend=true.
The errorMessage and the errorMessageIcon should be renamed to "groupErrorMessage" and "groupErrorIcon" in the Radio Groups prop panel.
In the Form Caption Group example story in the Radio Group Storybook documentation, the error message icon is missing (should be blrErrorFilled).
Requirements / Prerequisites
Acceptance Criteria
Additional information
Code of Conduct
The text was updated successfully, but these errors were encountered: