open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
37 stars 26 forks source link

Accessibility improvements - Form fields #4716

Closed robinmolen closed 1 month ago

robinmolen commented 1 month ago

Thema / Theme

Frontend

Omschrijving / Description

Part of #4622

This issue addresses the issues regarding form fields issues described in the accessibility rapport.

Added value / Toegevoegde waarde

No response

Aanvullende opmerkingen / Additional context

No response

robinmolen commented 1 month ago

Most form inputs are now connected (with input element id and label element for tags) to their labels. Also the error messages now point to the corresponding input, using aria-describedby, and invalid inputs now have the aria-invalid="true" tag.

Some fields have some accessibility issues: