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
Services may have a valid reason to include hint copy that includes block level elements such as P or UL. For example, on the Gov.UK cookies page, https://www.gov.uk/help/cookies
At the moment the govukHint component wraps the markup it accepts in a SPAN and this causes HTML validation errors if developers include block level elements because block level elements are not allowed within a SPAN.
Services may have a valid reason to include hint copy that includes block level elements such as P or UL. For example, on the Gov.UK cookies page, https://www.gov.uk/help/cookies
At the moment the govukHint component wraps the markup it accepts in a SPAN and this causes HTML validation errors if developers include block level elements because block level elements are not allowed within a SPAN.
https://github.com/alphagov/govuk-frontend/tree/master/src/govuk/components/hint
The text was updated successfully, but these errors were encountered: