Closed benceszenassy closed 4 months ago
Contributes to #1538
Add CvList, CvCheckbox, CvRadioButton, CvRadioGroup accessibility tests and fix components and tests if needed.
To make component more accessible.
With the expect(...).toBeAccessible(...) built in utility.
expect(...).toBeAccessible(...)
This component did not have a fieldset, legend pair, my solution was based on the v10 react component.
fieldset
legend
The tamplate changed from this: To this:
Contributes to #1538
What did you do?
Add CvList, CvCheckbox, CvRadioButton, CvRadioGroup accessibility tests and fix components and tests if needed.
Why did you do it?
To make component more accessible.
How have you tested it?
With the
expect(...).toBeAccessible(...)
built in utility.Were docs updated if needed?
CvRadioGroup
This component did not have a
fieldset
,legend
pair, my solution was based on the v10 react component.The tamplate changed from this:
To this:
![image](https://github.com/carbon-design-system/carbon-components-vue/assets/63120277/51cd30a0-b1ed-4bb4-a13b-5d8b86fd9a12)