Fieldset

Fieldset is used to group related form elements together.

Use Cases

  • Users should be able to:
  • Navigate to and activate a input field with assistive technology
  • Receive and understand supporting text and error messages
  • Navigate to and select interactive icons

Interaction & Style

The containers for both filled and outlined text fields provide the same functionality. Changes to color and thickness of stroke help provide clear visual cues for interaction.

Keyboard Navigation

KeysActions
TabFocus lands on (non-disabled) input

Labeling Elements

If the UI text is correctly linked, assistive tech (such as a screenreader) will read the UI text followed by the component's role.

The accessibility label for a textfield is typically the same as the label for the textfield.