Fieldset
should support Description
#3400
aaronadamsCA
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think the
Fieldset
component should support theDescription
component.This fieldset from GOV.UK Frontend has
aria-describedby="nationality-hint nationality-error"
:But this similar fieldset from Catalyst does not have
aria-describedby
:I think
<Description>
would make this a lot better.We discovered this limitation when trying to add an error message for a combined input like this one:
By using markup like this:
We hit a rendering error due to the missing description provider.
I think this pattern should be supported. I'd be happy to contribute the change if it's as straightforward as it looks. Thanks! 🙌
Beta Was this translation helpful? Give feedback.
All reactions