mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 23 forks source link

Feature/1929 checkbox hidden label #1936

Closed ab2583 closed 1 month ago

ab2583 commented 1 month ago

Summary of the changes

I've added a hideLabel prop to ic-checkbox like the one that existgs on other components auch as ic-checkbox-group. When the label is hidden it is added as an aria-label on the checkbox.

Related issue

1929

Checklist

General

Testing

Accessibility

Resize/zoom behaviour

System modes

Testing content extremes

GCHQ-Developer-530 commented 1 month ago

Happy with this from a dev perspective, will just need someone from the core team to run the cypress visual regression action once this PR has been merged so we can have the CI generated image of the checkbox without a label