WCAG 2.0 form fields for Gravity Forms

Extends the Gravity Forms plugin – modifies form fields and improves validation so that forms meet WCAG 2.0 accessibility requirements.

What does this plugin do?

  • Wraps radio, checkbox and list (repeater) fields in a fieldset.
  • Improves form validation by displaying an on-page message that describes how many errors there were in the page. The message contains a list of the form fields with the errors, a description of the error and a link to the field.
  • Adds aria-describedby attributes for date and website fields – providing clear instructions for screen reader users of what format is required for the field.
  • Adds HTML5 ‘required’ attribute and aria-required=’true’ for required fields
  • Adds aria-describedby attributes for fields that have failed validation – providing clear instructions for screen reader users of what the field error is. Description used is the default validation message for the field, or if set, the validation message for the field.
  • Disables the Gravity Forms configured tabindex – this stops users from being able to tab between fields and on-page links.
  • Changes links in the form body, such as field descriptions or HTML fields, so they open in a new window. A title is added or appended to any existing title for screen reader users which reads ‘this link will open in a new window’.
  • Improved file upload field – wrapped in field set, clearly identifies to screen reader users if any file size of file type restrictions have been set of the field.
  • Improved field instructions – if a description has been provided for the field, the field is ‘described by’ the description, using the aria-describedby attribute

How to I use the plugin?

Simply install and activate the plugin – no configuration required.

Have a suggestion, comment or request?

Please leave a detailed message on the support tab.

Let me know what you think

Please take the time to review the plugin. Your feedback shows the need for Gravity Forms to meet the WCAG 2.0 requirements natively, and will help me understand the value of this plugin.

Please note:

  • Accessibility is a complicated topic and sometimes there are different opinions on how to best achieve an accessible website. Accessible forms are even harder to achieve, with many different approaches. If you have a suggestion, comment or request please leave a detailed message on the support tab.
  • This plugin does not cover other aspects of accessibility, such as content order, clear instructions, colour contrast etc.
  • You will also need to ensure that your websites theme is accessible.

Disclaimer

Gravity Forms is a trademark of Rocketgenius, Inc.

This plugins is provided “as is” without warranty of any kind, expressed or implied. The author shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental or consequential damages or losses that occur out of the use or inability to use the plugin.