-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestngx-forms@studiohyperdrive/ngx-forms@studiohyperdrive/ngx-forms
Description
The ngxFormsErrors automatically adds an error element below an input when the control has an error. Because of WCAG, we need to link said input to the error-element.
To do so we:
- Make the NgxFormsErrorAbstractComponent have an tabIndex of 0
- Generate an id using Angular UUID and add that id to the NgxFormsErrorAbstractComponent (Use the signal approach as shown in NgxTourStepComponent)
- Add that generated id to the input by using the
ariaDescribedBy - Remove the
ariaDescribedBywhen the error is removed
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestngx-forms@studiohyperdrive/ngx-forms@studiohyperdrive/ngx-forms