You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: We have updated the guidelines for using labels with the TextField component. A label is no longer strictly mandatory in all cases.
Reason for the Update
Contextual Understanding: In some scenarios, the input requirements for a TextField can be inferred from the surrounding context. In such cases, an aria-label or aria-labelledby attribute may suffice, and a dedicated label can be omitted.
Unintended Consequences: The strict requirement for TextField labels led some users to assume that a label is necessary for other form control components (e.g., SegmentedControl).
Benefits
Labels are still encouraged where they improve clarity, but this new flexibility allows for cleaner designs.
By removing unnecessary labels, we can make more space-efficient designs and reduce excessive whitespace in certain layouts.
We ensure a cohesive label usage within all form controls and deliver greater clarity in when and how to use labels
The text was updated successfully, but these errors were encountered:
TL;DR: We have updated the guidelines for using labels with the TextField component. A label is no longer strictly mandatory in all cases.
Reason for the Update
Benefits
The text was updated successfully, but these errors were encountered: