ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Explore the vertical centering of radio buttons & checkboxes to their labels

Open GCHQ-Developer-112 opened this issue 2 years ago • 0 comments

Summary

Currently, in <ic-radio-option> & <ic-checkbox>, the radio & checkbox icons are vertically aligned to the centre of the label. Where are multiple radio options / checkboxes and one label wraps onto multiple lines whilst others are on a single line, there's a visual difference. This visual difference is even more obvious when radio options are displayed horizontally.

Screenshot 2023-02-27 at 13 02 24

If all radio button & checkbox icons were to be aligned to the top of the label, this would present an issue visually in the conditional variants.

Screenshot 2023-02-27 at 13 10 18

💰 Use value

Visually, these two components would look better. This work could also reduce mental load on our customers as it could mean that radio buttons & checkboxes are always in the same location regardless of its label's length.

GCHQ-Developer-112 avatar Feb 27 '23 13:02 GCHQ-Developer-112