Interactive
Find interactive requirements for testing web experiences.
Form elements (INT-1)
Fully descriptive control labels (INT-1-1)
Controls and inputs must have one unique label attribute that fully describes the control’s purpose, including any supplementary information that the visual presentation may also provide (for example: related controls grouped together visually).
Some or all of a label MAY be hidden with CSS if the visual presentation provides the necessary context.
How to test
Tool: Accessibility Insights- In the target page, examine each control/input element.
- Use Accessibility Insights > Adhoc Tools > Accessible Names.
- Review the names and confirm they describe the elements.
Test outcomes
-
Pass: All form controls have a unique label attribute that fully describes the control purpose and any supplementary information provided by the visual presentation.
-
Fail: One or more form controls does not have a unique label fully describing the control purpose and any supplementary information provided by the visual presentation.
Related WCAG criteria
WCAG 2.2 A - 3.3.2 Labels or InstructionsInfo and relationships (INT-1-2)
Where visual presentation conveys information, structure, or relationships in content, the same information is available programmatically or in text.
How to test
Tool: Screen reader- Review the page and identify information, structure or relationships communicated visually (examples: large text conveys headings, bold or italic text conveys emphasis, spacing conveys paragraph structure, etc.).
- Review any content identified in step 1 with a screen reader and confirm the same information, relationships, or structure is also conveyed programmatically.
- If the information is not conveyed programmatically, confirm the information is conveyed in text.
Test outcomes
-
Pass: All information, relationships, and structure conveyed through visual presentation is also conveyed programmatically or in text.
-
Fail: There is information, relationships, or structure on the page that is conveyed visually but not programmatically or through text.
Related WCAG criteria
WCAG 2.2 A - 1.3.1 Info and RelationshipsGroup controls using fieldsets (INT-1-3)
If there is more than one distinct group of related form controls on a page, the related controls must be grouped programmatically. This may be done using either fieldset/legend or ARIA group role/text container. Text describing the logical grouping MAY be hidden off-screen if it isn’t visually necessary.
How to test
Tool: Screen readerIf fieldsets or aria groups are used on the page to group more than one distinct group of related form controls, confirm that the legends/ARIA legends read properly, for example: before each label for the controls in the given group.
Test outcomes
-
Pass: Related controls are grouped using Fieldset or ARIA group and the legend/ARIA legend is read correctly by screen reader.
-
Fail: Related controls are not grouped using Fieldset or ARIA group or they are but the legend/ARIA legend is read incorrectly or not read by the screen reader.
-
NA: No groups of related controls are present.
Related WCAG criteria
WCAG 2.2 A - 1.3.1 Info and RelationshipsRequired fields (INT-1-4)
Required fields/controls must use the
Groups of checkboxes should not have the
How to test
Tool: Screen reader- Ensure that required fields are identified visually with text at the beginning of the form or in-line.
- Tab through each control on the page and confirm that each required form control is announced as such by each supported screen reader.
Test outcomes
-
Pass: All required fields are marked with
and read correctly by a screen reader and text is available at the top of the form or in-line. -
Fail: One or more required field is not marked with
and read correctly by a screen reader or text is not available at the top of the form or in-line.
Related WCAG criteria
WCAG 2.2 A - 1.3.1 Info and RelationshipsSpecify input purpose programmatically (INT-1-5)
If an input field is used to collect information about the user and the field supports autocomplete then the input field’s purpose is identified programmatically.
How to test
Tool: Browser Dev Tools (F12)- Use the Browser inspection to inspect each input field on the page. to determine if the HTML atutocomplete or autofill attributes have been used.
- If these attributes have been used, then they must match the type of information requested from the user.
Test outcomes
-
Pass: There are no automated errors reported and all fields which have autocomplete or autofill defined have correct, valid values that match the requested information.
-
Fail: One or more fields are detected which have incorrect or invalid values for autocomplete or autofill or the specified values do not match the information requested from the user.
-
NA: No fields with autocomplete or autofill are present.
Related WCAG criteria
WCAG 2.1 AA - 1.3.5 Identify Input PurposeVisible and programmatic label consistency (INT-1-6)
If a control’s visual label differs from the programmatic/accessible name value, then the programmatic/accessible name value includes the visual label.
How to test
Tool: ANDI- Use the ANDI tool and select Buttons/Links from the dropdown menu.
- Use the ANDI Output section to determine whether or not any controls have a programmatic/accessible name value that is different from the visual label.
- For any control that has a different visual label and ANDI output, confirm that the programmatic/accessible name value includes the visual label.
- Repeat these steps using the ANDI Focusable Elements dropdown to review form fields.
Test outcomes
-
Pass: All controls which have a different programmatic/accessible name value and visual label have the visual label text within the programmatic/accessible name value text string.
-
Fail: One or more control which has a different programmatic/accessible name value and visual label does not have the visual label text within the programmatic/accessible name value text string.
-
NA: No controls which have a different programmatic/accessible name value and visual label are present.
Related WCAG criteria
WCAG 2.1 A - 2.5.3 Label in NameMultiple authentication methods (INT-1-7)
User authentication must avoid relying on a cognitive function test by providing multiple means of filling in authentication information.
How to test
Tool: Visual inspectionEnsure that authentication form fields allow any of the following:
- The fields allow autofill of information provided by the browser.
- Information may be pasted into the form fields.
- Biometrics can be used to sign into accounts.
Test outcomes
-
Pass: The authentication fields allow autofill of stored information from the browser or information can be copied and pasted into the fields or biometrics (fingerprints, facial-scan, etc.) can be used to log in.
-
Fail: The authentication fields do not allow autofill and information cannot be copied and pasted into the fields and biometrics cannot be used (for example: none of the pass criteria methods are used).
-
NA: the page does not require interaction to authenticate.
Related WCAG criteria
WCAG 2.2 AA - 3.3.8 Accessible Authentication MethodsForm interactions (INT-2)
On focus (INT-2-1)
Focusing or removing focus from an element does not cause a change of context.
How to test
Tool: Keyboard- Tab to each focusable element.
- Tab away from each focusable element.
- When focus lands on or leaves each element, confirm it does not cause a change of context.
Test outcomes
-
Pass: Focusing or removing focus from an element does not cause a change of context.
-
Fail: One or more elements cause a change of context when focused or focus is removed.
Related WCAG criteria
WCAG 2.2 A - 3.2.1 On FocusOn input (INT-2-2)
Changing the value of any interactive element does not automatically cause a change of context unless the user has been advised beforehand.
How to test
Tool: Keyboard- Locate any elements on the page that has a value that can be updated (for example: checkboxes, radio buttons, selects, etc.).
- Change the value for each element.
- Confirm that unexpected changes do not occur.
Test outcomes
-
Pass: No changes of context occur on value change or the user is advised beforehand.
-
Fail: One or more changes of context occur on value change and the user is not advised beforehand.
-
NA: No interactive elements can accept a value change.
Related WCAG criteria
WCAG 2.2 A - 3.2.2 On InputActivate only on up event (INT-2-3)
Actions completed with mouse or touch input must not use the down-event to execute any part of the function. -or- Make sure there is a way for the user to abort or undo the action. -or- Allow the up-event to reverse any outcome of the preceding down-event
How to test
Tool: MouseConfirm that there are no actions which are completed using the down-event from mouse or touch input or that there is a way for the user to abort or undo the action or that the up-event allows the user to reverse any outcome of the preceding down-event.
Test outcomes
-
Pass: No actions are completed using the down event or there is a way to abort or undo an action completed on the down-event or the up-event allows the reversal of the preceding down-event.
-
Fail: Actions are completed using the down event and there is not a way to abort or undo the action and the up-event does not allow reversal of the preceding down-event.
Related WCAG criteria
WCAG 2.1 A - 2.5.2 Pointer CancellationRedundant entry (INT-2-4)
If a page is contained within a process then information provided on the first step of the process is auto-filled in the next steps unless the information is required for security.
How to test
Tool: Visual inspectionReview the page to determine if it is a step in a process. Ensure that if information is provided in an earlier step in this process, that information is auto-filled in later steps.
Test outcomes
-
Pass: Information provided during the process will autofill if later steps require the same information.
-
Fail: Fields do not autofill when the same information has been provided on previous steps.
-
NA: The page does not contain any process-based functionality or information reentry is essential or required for security.
Related WCAG criteria
WCAG 2.2 A - 3.3.7 Redundant EntryErrors & messaging (INT-3)
Check for errors (INT-3-1)
If an input error is automatically detected, the item that is in error is identified and the error is described to the user in text.
How to test
Tool: Visual inspection- Identify any inputs that have automatic validation.
- For each input, verify that errors are described in text.
Test outcomes
-
Pass: Errors are identified and the errors are described to the user in text.
-
Fail: Errors are identified but the errors are not described to the user in text.
-
NA: There are no inputs with automatic validation.
Related WCAG criteria
Summary before submit (INT-3-2)
If user input is collected across multiple pages in order to execute a transaction of some kind the user must be presented with a summary of the input before submitting. The user must be able to change input prior to final submission after reviewing.
How to test
Tool: Visual inspectionExamine the target page to determine whether it allows users to:
- make any legal commitments or financial transactions, or
- modify or delete data in a data storage system, or
- Submit test responses.
- If the page does allow such actions, verify that the following are true:
- the user is presented with a summary of the input before submitting.
- user can review, confirm, and correct information before finalizing the submission.
Test outcomes
-
Pass: A summary of user input is provided prior to final submit and the user can edit or make corrections as needed.
-
Fail: A summary of user input is not provided prior to final submit or the user cannot edit or make corrections as needed.
-
NA: User input is not collected across pages to execute a transaction.
Related WCAG criteria
WCAG 2.2 AA - 3.3.4 Error PreventionError suggestion (INT-3-3)
When errors are detected, suggestions are provided to correct them, unless it would jeopardize the security or purpose of the content.
How to test
Tool: Visual inspection- Locate any errors that can appear on the page.
- Trigger each error.
- Confirm that when possible, an error message describes how to correct the error (eg “username field is required” or “phone number must contain 10 digits”).
Test outcomes
-
Pass: Suggestions to fix errors are present.
-
Fail: One or more errors exist but users are not informed how to fix the errors.
-
NA: No errors exist on the page.
Related WCAG criteria
WCAG 2.2 A - 3.3.3 Error SuggestionHighlight in-line errors visually (INT-3-4)
When an error is detected using in-line validation, highlight the field (for example: with a bold red border, error icon with proper alternative text) and place error helper text near it.
How to test
Tool: Visual inspectionConfirm that when an error is detected using in-line validation, the visual UI highlights the fields with errors (for example: with a red border) and places error helper text above or below each one.
Test outcomes
-
Pass: When an error is detected using in-line validation, the visual UI highlights the field and places error helper text near it.
-
Fail: For one or more client-side validated forms when an error is detected using client side validation, the visual UI does not highlight the field or place error helper text near it.
-
NA: No forms are present.
Related WCAG criteria
Interactive controls (INT-4)
Link text in context (INT-4-1)
The destination of a link is clear from either the link text alone or the link text combined with surrounding programmatically associated text.
How to test
Tool: Screen reader- Use a screen reader to navigate to each link on the page.
- Confirm that one of the following is true:
- The name of the link provides sufficient information to understand its destination. or
- The link destination is clear based on its name and surrounding programmatically associated content (for example: text in the same paragraph, list item, or table cell; content in a table header associated with a table cell containing the link; etc.).
Test outcomes
-
Pass: The destination of all links is clear based on the link text alone or the link text and surrounding programmatically associated text.
-
Fail: The destination of one or more links on the page is unclear and the surrounding programmatically associated context also does not provide information about the link’s purpose.
-
NA: No links are present.
Related WCAG criteria
WCAG 2.2 A - 2.4.4 Link PurposeValid link href attribute (INT-4-2)
Links must contain a valid href attribute value and must not point to
How to test
Tool: ANDIBring up the list of links with ANDI if available and confirm no links HREF points to
Test outcomes
-
Pass: All links contain valid href attribute values.
-
Fail: One or more links do not contain valid href values.
-
NA: No links are present.
Related WCAG criteria
WCAG 2.2 A - 4.1.2 Name, Role, ValueClick and drag movements (INT-4-3)
An action that relies on clicking and dragging of content can also be achieved by a single pointer without dragging unless dragging is essential to the activity.
- Example of single pointer Pass: A quiz relies on users clicking and dragging information into the correct bucket. Users are also able to click once to select an option, then click on the correct bucket.
- Example of essential activity: A medical app requires clicking and dragging an object to a target to accurately measure the user’s precision.
How to test
Tool: Visual inspection- Visually inspect the page to determine whether any functionality requires a user to click and move their mouse to access content.
- For any dragging content, confirm that it can be used with a single pointer without dragging.
Test outcomes
-
Pass: All click and drag functionality can also be performed with a single pointer or the dragging movement is essential.
-
Fail: Click and drag functionality cannot be completed with a single pointer.
-
NA: The page does not contain click and drag functionality.
Related WCAG criteria
WCAG 2.2 AA - 2.5.7 Dragging MovementsTarget size (INT-4-4)
Actionable components have a minimum target size of 24x24 CSS pixels except for:
Objects with a target offset of at least 24px.
- For example, a 20px width “Cancel” button has its right most edge at least 4px away from a “Submit” button placed on the right. Inline content within a sentence or block of text.
- For example, a wiki paragraph has multiple instances of hyperlinked text. Increasing the height and width of these links would impact the presentation of text and make it more difficult to read.
How to test
Tool: Browser Dev Tools (F12)Use browser inspect tool to view the CSS values under the “Computed” tab. Find the height and width properties for the component. Ensure that each control has a width and height greater than or equal to 24px or
- For example, a 20px width “Cancel” button has its right most edge at least 4px away from a “Submit” button placed on the right.
Test outcomes
-
Pass: Both height and width are greater than or equal to 24px or less than 24px with sufficient spacing between controls.
-
Fail: Either the height or width is less than 24px and the center of the control is less than 24px from another control.
-
NA: Target is a link or button in a block of text that requires a specific presentation.
Related WCAG criteria
WCAG 2.2 AA - 2.5.8 Target Size (Minimum)Name (INT-4-5)
All interactive elements must have a programmatic name accessible to assistive technology
How to test
Tool: Screen reader- Review each interactive element with a screen reader.
- For each interactive element, verify the screen reader announces the name of the element.
Test outcomes
-
Pass: All interactive elements have a name announced by the screen reader.
-
Fail: One or more interactive elements do not have a name announced by the screen reader.
Related WCAG criteria
WCAG 2.2 A - 4.1.2 Name, Role, ValueRole (INT-4-6)
All elements with semantic meaning have a valid, accurate programmatic role accessible to assistive technology
How to test
Tool: Screen reader- Locate all elements on the page with semantic meaning. (for example: headings, buttons and links, dialogs, etc…).
- For each element with semantic meaning, verify the screen reader announces the role of the element.
- Verify that the role announced for the element is valid and matches the semantic meaning of the element (for example: a link announces a link role, a button announdes a button role, etc.).
Test outcomes
-
Pass: All elements with semantic meaning have a role announced by the screen reader that matches the semantic meaning of the element.
-
Fail: One or more semantic elements do not have a role announced by the screen reader or the role announced does not match the semantic meaning of the element.
Related WCAG criteria
WCAG 2.2 A - 4.1.2 Name, Role, ValueValue, states, properties (INT-4-7)
States, properties, and values of elements are programmatically available to assistive technology, Any changes to these items are also communicated to assistive technology.
How to test
Tool: Screen reader- Locate all elements on the page which have states, properties, and/or values associated (for example: pressed/invalid state, an error message property on an invalid input, a user-input text string value in a “name” text field, etc.).
- For each identified state, property, or value, confirm that the screen reader announces it when interacting with the associated element.
Note: If a state, property, or value has changed, the screen reader can determine the change.
Test outcomes
-
Pass: All states, properties, and values are announced by the screen reader when interacting with the associated element.
-
Fail: One or more states, properties, or values are not announced to the screen reader when interacting with the associated element.
-
NA: No elements with states, properties, or values are present.
Related WCAG criteria
WCAG 2.2 A - 4.1.2 Name, Role, ValueDiverse user needs (INT-5)
Pause, stop, hide moving content (INT-5-1)
A mechanism must be provided to pause, stop, or hide any content that meets the following criteria:
- Starts automatically
- Is presented in parallel with other content and
- moves, blinks or scrolls for >5 seconds or
- All auto-updating content regardless of duration
How to test
Tool: Visual inspection- Perform a visual inspection of the page.
- Confirm that for any content that meets the following criteria, a mechanism is provided to pause, play, or hide the applicable content:
- Starts automatically.
- Is presented in parallel with other content. and
- moves, blinks or scrolls for >5 seconds. or
- All auto-updating content regardless of duration.
Test outcomes
-
Pass: A mechanism is provided to pause, stop, or hide auto-playing; moving or blinking; auto-updating content.
-
Fail: A mechanism is not provided to pause, stop, or hide auto-playing; moving or blinking; auto-updating content.
-
NA: No auto-playing; moving or blinking; auto-updating content is present.
Related WCAG criteria
WCAG 2.2 A - 2.2.2 Pause, Stop, HidePause or adjust volume for auto playing audio (INT-5-2)
For any audio which 1) plays automatically and 2) lasts for >3 seconds, one of the following must be true:
- A mechanism to pause the content is presented to the user or
- A mechanism for adjusting the volume of the content is presented to the user and it does not rely on the system audio levels to adjust the volume.
How to test
Tool: Visual inspectionConfirm that for any audio which 1) plays automatically and 2) lasts for >3 seconds, one of the following is true:
- A mechanism to pause the content is presented to the user. or
- A mechanism for adjusting the volume of the content is presented to the user and it does not rely on the system audio levels to adjust the volume.
Test outcomes
-
Pass: For all content which plays automatically and lasts for more than 3 seconds a mechanism is provided to pause or adjust volume.
-
Fail: A mechanism is not provided to pause or adjust volume for all content which plays automatically and lasts for more than 3 seconds.
-
NA: No content which plays automatically and lasts for more than 3 seconds is present.
Related WCAG criteria
WCAG 2.2 A - 1.4.2 Audio ControlNo blinking or flashing (INT-5-3)
Content that blinks or flashes rapidly must never be used.
Note: “Rapidly” is blinking/flashing more than 3 times in 1 second. If there is any doubt about the frequency of flashing then this would fail.
How to test
Tool: Visual inspection- Perform a visual inspection of the page.
- Confirm that each page contains no content that blinks or flashes.
Test outcomes
-
Pass: Content that blinks or flashes is not used.
-
Fail: Content that blinks or flashes is used.
Related WCAG criteria
WCAG 2.2 A - 2.3.1 Three Flashes or Below ThresholdWarn about timeout (INT-5-4)
Users must be warned prior to when a session times out and expires.
How to test
Tool: Visual inspectionConfirm that users are warned prior to when a session times out and expires.
Test outcomes
-
Pass: Session timeout warning occurs prior to session time out and expiration.
-
Fail: Session timeout occurs without warning.
-
NA: So session timeout is present.
Related WCAG criteria
WCAG 2.2 A - 2.2.1 Timing AdjustableExtend timeout (INT-5-5)
When a session timeout warning occurs, users must be given at least 30 seconds to take action in order to avoid a session time out by extending the time limit (of a session) via a “simple” user action (for example: “press the space bar”).
How to test
Tool: Visual inspectionConfirm that users are given at least 30 seconds to take action in order to avoid a session time out by extending the time limit (of a session) via a “simple” user action (for example: “press the space bar”).
Test outcomes
-
Pass: Users are given at least 30 seconds to extend the session via a simple user action.
-
Fail: Users are given less than 30 seconds to extend the session via a simple user action.
-
NA: No session timeout is present.
Related WCAG criteria
WCAG 2.2 A - 2.2.1 Timing AdjustableFlexible orientation (INT-5-6)
Content must adapt to the device orientation when orientation is changed from portrait to landscape mode unless a specific orientation is required.
How to test
Tool: System SettingsSet display orientation to each orientation mode (portrait and landscape) and review how the content responds.
This can be done using OS settings (Start > Settings > System > Display) or inspecting the page in your browser and using the device list to change orientations. https://developer.chrome.com/docs/devtools/device-mode/orientation/
Test outcomes
-
Pass: Content adapts to all display orientations.
-
Fail: Content does not adapt to all display orientations.
-
NA: A specific display orientation is essential (for example: bank check).
Related WCAG criteria
WCAG 2.1 AA- 1.3.4 OrientationMotion control (INT-5-7)
If functionality can be operated or activated by device or user motion then it can also be operated or activated through UI components and motion actuation can be turned off to avoid unintentional activation by the user.
How to test
For all functionality that can be operated or activated by moving the device or user motion input confirm that the same functionality can be operated or activated through UI components and confirm that the motion actuation can be turned off by the userTest outcomes
-
Pass: All functionality that can be operated or activated by device or user motion has a UI control alternative and motion actuation can be turned off by the user.
-
Fail: Any aspect of functionality that can be operated or activated by device or user motion does not have a UI control alternative or motion actuation cannot be turned off by the user.
-
NA: No functionality that can be operated or activated by device or user motion is present.