cds-snc / design-gc-conception

MIT License
4 stars 0 forks source link

Dev changes: Add new property size to <gcds-fieldset> #1141

Open daine opened 2 months ago

daine commented 2 months ago

📇 User story

As a developer, when I use <gcds-fieldset>, I want to be able to customize the size of the heading so that I can use different types depending on the context and situation of the design.

✅ Definition of Done / Outcomes

📜 Acceptance criteria

📝 More info

We have originally been recommending to use to wrap radio buttons () and checkboxes (checkbox). Unfortunately, this same HTML element provides multiple purposes such as grouping multiple form components, as well as being the primary label for a group of form choices in radio buttons or checkboxes.

. 🚫 Out of scope Other parts of the fieldset alignment work have tickets for them and is not within the scope of this ticket.