Integration
To make form fields available for screen readers and compliant with WCAG standards, we added appropriate title and aria-label attributes to each iframe and input field. These attributes provide descriptive information about the form fields, which helps screen readers to inform users about the purpose of each field.
We updated the JavaScript code to iterate through input fields and iframes in the form and set these attributes automatically.
Default values for the title and aria-label attributes are set with the input field's name.
---end
Here is an example of how to use the configuration object to specify custom titles and aria-labels for each field:
|
---end