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
The library currently defaults legends and labels to xl if no size is provided and they are page headings.
This differs from the native components where consumers are expected to explicitly provide the size class. It also defaults to xl which is usually not correct - most services should be defaulting to l (formal guidance on this coming).
We could:
Remove the default as part of a breaking change, possibly showing a warning for a version or two that teams need to explicitly set the size.
Change the default to l as part of a breaking change - again possibly showing a warning?
aligns closest with how the native components work, though for teams that haven't set a size, they'll need to set it on each usage of radios / checkboxes / inputs, etc.
might end up changing consumer services' pages - though often the change will be to a more appropriate heading size. It may mean fewer changes to templates as in most cases services should be using size l anyway.
The text was updated successfully, but these errors were encountered:
The library currently defaults legends and labels to
xl
if no size is provided and they are page headings.This differs from the native components where consumers are expected to explicitly provide the size class. It also defaults to
xl
which is usually not correct - most services should be defaulting tol
(formal guidance on this coming).We could:
Remove the default as part of a breaking change, possibly showing a warning for a version or two that teams need to explicitly set the size.
Change the default to
l
as part of a breaking change - again possibly showing a warning?aligns closest with how the native components work, though for teams that haven't set a size, they'll need to set it on each usage of radios / checkboxes / inputs, etc.
might end up changing consumer services' pages - though often the change will be to a more appropriate heading size. It may mean fewer changes to templates as in most cases services should be using size
l
anyway.The text was updated successfully, but these errors were encountered: