Prerequisite
You require an accessibility tool such as Accessible Name and Description Inspector (ANDI) and an Adaptive Form theme developed to fix accessibility related issues to create an accessible adaptive form.
Download and install accessibility testing tool
Accessible Name and Description Inspector (ANDI) tool helps you identify and fix accessibility compliance-related issues in web content. It is the recommended tool under Trusted Tester v5 guidelines of Department of Homeland Security. It is developed by the Social Security Administration department of United States to check Section 508 compliance of web content. The tool:
- Helps detect accessibility issues on a webpage
- Provides suggestions to improve accessibility
- Detects keyboard accessibility and color contrast issues
- Clearly identifies the screen reader content in compliance with the standards
ANDI works with all major Internet browsers. See ANDI’s documentation for detailed instructions on how to configure and use the tool.
Download and install the Ultramarine-Accessible theme
The Ultramarine-Accessible theme is a reference theme. It helps demonstrate how to fix color contrast and other accessibility-related issues in an adaptive form. Adobe recommends that you create a custom theme for the production environment based on the styles approved by your organization. Perform the following steps to upload the theme to your AEM instance:
- Download the theme package.
- Navigate to Experience Manager > Navigation
- Select Create > File Upload. Select and upload the x Ultramarine-Accessible-Theme.zip file. It uploads the theme to your AEM instance.
Make an adaptive form accessible
You should focus on four key aspects: keyboard navigation, color contrast, meaningful alternate text for images, and appropriate labels for forms controls to make an adaptive form accessible. Perform the following steps to make your existing adaptive forms accessible:
1. Apply an accessible theme and perform additional fixes
Apply the Ultramarine-Accessible theme to your existing adaptive form. To apply the theme:
- Open the adaptive form for editing.
- Select a component and select the parent icon. In the context menu, select Adaptive Form Container and then select the Configure icon.
- Select the Ultramarine-Accessible theme in the properties browser and select Save icon.
- Refresh the browser window. The theme is applied to the adaptive form.
After applying an accessible theme, perform the below listed additional fixes. The fixes are in addition to accessibility fixes covered in the accessible theme:
-
Add a meaningful alternate text for the logo image in the adaptive form.
Provide a meaningful alternate text for images in header and footer components of the adaptive form template. When you fix the template and use it to create an adaptive form, the adaptive forms inherit all the accessibility-related fixes applied to header and footer of the template. For an existing adaptive form, make changes at the adaptive form level. Changes made to an adaptive form template do not automatically flow to an existing adaptive form.
-
Add a heading component containing form name to the adaptive form. If your form design specifies a company name, add a separate heading component for the company name also.
Most accessibility tools inform users about the hierarchy of the content to help them understand structure of the web page. Set different heading levels for organization name and form name text on the adaptive form to provide a hierarchical structure to these texts. In addition, use a Text component before each panel and section with an appropriate heading level to create a hierarchy.
-
Change footer background color to use appropriate contrast in accordance with the accessibility standards to improve visibility and readability of the text. You can use ANDI to find color contrast issues in your form. Also, do not use very small font. Small fonts are difficult to read.
-
Replace the switch and image choice components in your existing adaptive form with choice (radio) component.
-
Replace the numeric stepper component in your existing adaptive form with numeric box component.
-
Replace date input field with date picker field.
-
Set display, validation, and edit patterns for the date picker component. Also, set a custom validation error message. For example, You have specified an invalid date. The correct format of the date is YYYY-MM-DD.
-
Set custom accessibility text for the date picker component. For example, Enter your date of birth. Screen readers read these custom accessibility texts.
-
Use short description instead of long description for adaptive form components. A long description adds help button. Ensure the adaptive does not have any Help button.
-
Add custom accessibility text to all the read-only cells of tables. Also, disable all the read-only cells of tables.
-
Remove scribble signature fields, if any in the adaptive form. Configure the adaptive form to use Adobe Sign for a seamless digital signing experience.