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
{{ message }}
Repository navigation
[ngx-forms]: Update errors directive by adding describedBy #320
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 ariaDescribedBy when the error is removed
Activity