Option 2: Marking only the optional form fields

Clearly indicate to the user if a form field is optional.

Assuming that you only request essential information in forms, most fields will be required. Then, optional fields are the exception. You can choose to mark only the optional fields visually. Do this by informing the user above the field and by including the text ‘(optional)’ in the label for optional fields.

Example

Screenshot form indicating non-required fields
In this screenshot: Above the form the text: "All questions are required except the questions marked as (optional)". This information is also in the label text: Your Pronouns (optional).

Note for developers: for screen reader users, the indication if a field is required must be added in the code with a form field. Learn how to Indicate required fields for screen readers.

Indication of optional fields in WordPress form plugins

We want to invite people familiar with form plugins to help us add instructions for WordPress form plugins, including options, settings, and screenshots. Please contact us if you want to help us with this additional content.

By indicating required fields, you meet WCAG success criterion 3.3.2 Labels or Instructions (Level A).

Resources