Skip to content

[Suggestion] Add a Fieldset element #1007

@teenwolfblitzer

Description

@teenwolfblitzer

Description

Groups of related form elements (checkboxes and radio buttons in particular) stand to benefit from the addition of a Sage fieldset (and legend).

  • Using a fieldset will clearly define the relationship between controls to screen readers
  • Developers will gain the ability to enable and disable entire sets of controls at once
  • Testing can be simplified by allowing grouped form controls to be scoped under a single test_id

Discussion points/considerations

  • Styling fieldset styling: remove border and padding as defaults?
  • Intended for functional use only, not as a styled "container"
  • legend should be required but provide an option to visually hide

Additional Information

Metadata

Metadata

Labels

P4Not critical: workarounds exist and/or not a high priority item.a11yAccessibility relatedsuggestionSuggestion to improve the Sage System

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions