dequelabs / cauldron

https://cauldron.dequelabs.com/
Mozilla Public License 2.0
91 stars 21 forks source link

Input Description / Error Text #1641

Open scurker opened 2 months ago

scurker commented 2 months ago

TextField should accept a new optional description property that is displayed immediately below the label text. When description is present, the associated input field should have aria-describedby with an idref pointing to the associated description.

Designs

textfield design textfield multiline design

Additional Changes

With this change, the placement of the error message should also be visually located immediately above the input field with the addition of a caution icon preceding the error text.

shawnsharpDQ commented 2 months ago

Description and Error updates for the input / Select / Combobox Description and Error Updates

Description added to a group of radio components Multiple Radio Description

amberfrontend commented 6 days ago

I have a fix for this, but I'm not sure I have permission to push up a PR.

scurker commented 5 days ago

Hey @amberfrontend 👋

I believe you should have permissions to create a PR, but it might need to be from a fork. If that doesn't work let me know and I can double check the contributor settings.