Accessibility Compliance Module

Overview

Form Builder:

Each Form.io component is tested for accessibility compliance using standalone applications. To create accessible forms, we offer a form builder that includes only the components that have been revised and designed in compliance with WCAG 2.1 standards.

When building forms leveraging the Form Manager application, the Form Builder will automatically restrict non-accessible components and settings allowing the user to create fully accessible forms.

When leveraging the Developer Portal the following components should not be used when creating fully accessible forms. These components are not included in the Accessibility Compliance Module, and do not meet accessibility-compliant standards or follow best practices in catering to a broader audience engaging your forms:

  • Tags

  • Address

  • Survey

  • Tabs

  • Data Map

  • DataGrid

  • EditGrid

  • Recaptcha

  • Nested Form

  • Sketchpad

  • Tagpap

  • DataTable

  • Signature

  • Custom

Form rendering module handles the following:

  • Screen readers' announcements upon user action

  • Focus order/Focus trap/Focus placement

  • Dynamic change of aria-attributes

  • Validation messages handling

  • Special styles for invalid/valid fields

Form.io USWDS template module OR Form.io Bootstrap template module handles the following:

  • Proper HTML markup (every form field needs an associated label, correct component structure etc.)

  • Aria-attributes such as aria-describedby, aria-labelledby, etc.

  • Additional helpful messages for sighted users

  • Additional instructions for non-sighted users (e.g. number types, etc.)

  • WCAG compliant color contrasts (only applicable for USWDS for now)

Contact sales@form.io for more information

Features

  1. Accessible Form Manager

  2. Accessibility Templates (USWDS)

  3. Accessibility Module

    • Provides overrides for formio.js renderer and builder.

    • Cuts down options within the Form.io Portal Form Builder to avoid components for which accessibility is not supported.

    • Includes Builder markup overrides to make the builder accessible (keyboard accessibility, accessible drag-n-drop functionality, additional screen reader announcements upon user actions).

    • Handles dynamic changes on the form and during building a form.

When customers utilize BOTH USWDS + VPAT for embedded forms within their applications, they receive the following features:

Features coming from the Form.io USWDS templates (#2 above):

  1. Proper HTML markup (every form field needs an associated label).

  2. Aria-attributes such as aria-describedby, aria-labelledby, etc.

  3. Additional messages for sighted users (e.g. allowed file types for File component).

Features coming from the Form.io VPAT module (#3 above):

  1. Screen readers messages upon user action (File, Wizard components).

  2. Focus behavior handling (File, Wizard, Panel components).

  3. Dynamic change of aria-attributes (all form fields).

  4. Validation messages handling (all form fields).

  5. Special styles for invalid fields (all form fields).

Additional Features coming from using the combined Form.io USWDS+VPAT modules:

  1. Accessible tooltips.

  2. Accessible Date/Time component.

  3. Ability to use accessible “Modal Edit” windows for components when being filled in by end users.

Each Form.io component is tested for accessibility compliance using standalone applications. To create accessible forms, we offer a form builder that includes only the components that were revised and designed in compliance with WCAG 2.1 standards

Accessible Form Manager

Repositories used:

  1. https://github.com/formio/formmanager (also included in standard FMGR)

  2. https://github.com/formio/angular (also included in standard FMGR)

  3. https://github.com/formio/formio.js (also included in standard FMGR)

  4. https://github.com/formio/uswds * (only included in Accessible FMGR) * - this repositories have accessibility features listed above

How to enable the Accessible Form Manager Application:

To enable the Accessibility Compliance Module, the following environment variable will need to be included in your Enterprise Server as part of your deployed environment.

VPAT=true

How to Embed Accessible Forms that were built within the Accessible Form Manager Application into customer applications (with accessible templates and VPAT functionality included in the applications):

Repositories used:

To embed the “https://examples.form.io/example” directly to a website the following code should be used.

<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" href="https://cdn.form.io/formiojs/formio.full.min.css">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/2.12.0/css/uswds.min.css">
        <link rel="stylesheet" href="dist/uswds.css">
        <script src="https://cdn.form.io/formiojs/formio.full.min.js"></script>
        <script src="dist/uswds.js"></script>
        <script src="dist/vpat.js"></script>
    </head>
    <body>
        <div id="formio"></div>
        <script type="text/javascript">
            Formio.use(uswds);
            Formio.use(vpat);
            Formio.createForm(document.getElementById('formio'), 'https://examples.form.io/example');
        </script>
    </body>
</html>

Alternative Use Case: Embedding the Accessible Form Builder (commercial not OSS) directly within the customer application:

Repositories used:

An alternative way to use the Accessible form builder is to embed the Form.io Form Builder within the application using the following code.

<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" href="https://cdn.form.io/formiojs/formio.full.min.css">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/2.12.0/css/uswds.min.css">
        <link rel="stylesheet" href="dist/uswds.css">
        <script src="https://cdn.form.io/formiojs/formio.full.min.js"></script>
        <script src="dist/uswds.js"></script>
        <script src="dist/vpat.js"></script>
    </head>
    <body>
        <div id="builder"></div>
        <script type="text/javascript">
            Formio.use(uswds);
            Formio.use(vpat);
            Formio.builder(document.getElementById('builder'));
        </script>
    </body>
</html>

Last updated