cds-snc / design-gc-conception

MIT License
4 stars 0 forks source link

Requirements: Updates to <gcds-fieldset>, <gcds-radio-group> and <gcds-checkbox> #1144

Open daine opened 1 month ago

daine commented 1 month ago

📇 User story

As a GCDS team member, I want to have an updated requirements document for the Fieldset, Radio Group and Checkbox components, to ensure alignment between design and development.

As a GCDS team member, I want the requirements document to contain the proposed changes for the new property legend that is used as a label for both the Radio Group and Checkbox components, to ensure alignment between design and development.

As a GCDS team member, I want the requirements document to contain the proposed changes for grouping the checkboxes into a plural component, so that a fieldset can wrap it and provide a legend for it.

As a GCDS team member, I want the requirements document to contain the decision to rename the Radio Group and Checkbox components, to ensure consistency between the two components that behave similarly.

✅ 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.

ClementineHahn commented 4 weeks ago

@ethanWallace progressing on this on this doc (to be added)

ethanWallace commented 4 weeks ago

Requirements documents:

ethanWallace commented 2 weeks ago

Will review this version with the devs and then get opinions from other team members about the changes,