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
I think this is related to the fact that the label is not within the context of a form element with the usa-form class (there's actually no form at all). Perhaps this label and any other form fields could be rendered in Storybook within the context of a form with the proper class?
The text was updated successfully, but these errors were encountered:
@crwallace ... I would categorize it as more of a documentation fix (assuming we consider Storybook to be documentation). For more context, see this Slack thread.
Does this documentation relate to a specific USWDS feature?
Yes, see the styling of a Label with Required Marker.
Is your documentation related to a problem or inconsistency? Please describe.
The styling of the required marker shows some dots underneath which shouldn't be there:
Describe the documentation you'd like
Ensure the styling matches what USWDS shows for a required field.
Additional context
I think this is related to the fact that the
label
is not within the context of aform
element with theusa-form
class (there's actually no form at all). Perhaps this label and any other form fields could be rendered in Storybook within the context of a form with the proper class?The text was updated successfully, but these errors were encountered: