WCAG 3.2.2 On Input — Testing Guide for Mobile & Web Apps

WCAG 3.2.2, "On Input," is a crucial accessibility guideline. It mandates that a change of context should not occur simply because a user provides input to a form control. This means that actions like

June 14, 2026 · 7 min read · WCAG Guides

Ensuring WCAG 3.2.2 (On Input) Compliance for Accessible Applications

WCAG 3.2.2, "On Input," is a crucial accessibility guideline. It mandates that a change of context should not occur simply because a user provides input to a form control. This means that actions like typing into a field or selecting an option should not automatically trigger a new page load, a significant content change, or a focus shift without the user explicitly confirming the action.

What WCAG 3.2.2 Requires (In Plain English)

Essentially, this criterion states: Don't surprise users with unexpected changes.

When a user interacts with a form element (like a text box, dropdown, or checkbox), the application should not automatically perform a significant action just because the user entered data or made a selection. The user should be in control of when a change of context happens.

A "change of context" includes:

The only exceptions are when the user is explicitly warned about the impending change and has a way to prevent it, or when the change is essential to the functionality of the component (e.g., a search input that instantly shows results as you type, but the user can still see the original page).

Why It Matters: Real User Impact

This guideline directly impacts users who rely on assistive technologies or have cognitive disabilities.

Adhering to 3.2.2 is not just about compliance; it's about creating a predictable and user-friendly experience for everyone. This is a core expectation for applications seeking to meet EU EAA (European Accessibility Act) and ADA (Americans with Disabilities Act) requirements.

Common Violations with Examples

Here are typical scenarios where WCAG 3.2.2 is violated:

#### Mobile App Examples:

  1. Auto-Submitting Search Forms:
  1. Dropdowns Triggering Navigation:
  1. Interactive Elements Opening New Views Unprompted:

#### Web App Examples:

  1. Form Field Focus Changes Triggering Actions:
  1. Automatic Form Submission on Input Change:

How to Test for Compliance

#### Manual Testing Steps:

  1. Identify Form Controls: Locate all input fields, select elements, checkboxes, radio buttons, and any other interactive elements designed for user input.
  2. Interact with Controls: For each identified control, perform common input actions:
  1. Observe for Unexpected Changes: After each interaction, carefully observe:
  1. Check for Warnings/Confirmation: If a change of context *does* occur, ensure there was a clear warning or an explicit confirmation step that the user could interact with.
  2. Test with Different User Personas:

#### Automated Tools for Checking:

While manual testing is crucial for understanding user intent, automated tools can flag potential issues:

#### Mobile-Specific Considerations (Android/iOS):

How to Fix Violations

The primary fix is to defer actions until the user explicitly confirms them.

#### Web App Fixes:

Example (Web - preventing auto-submit):


// Instead of this (bad):
const searchInput = document.getElementById('search');
searchInput.addEventListener('input', () => {
  window.location.href = `/search?q=${searchInput.value}`; // Auto-navigates
});

// Use this (good):
const searchInput = document.getElementById('search');
const searchButton = document.getElementById('search-button');

searchButton.addEventListener('click', () => {
  window.location.href = `/search?q=${searchInput.value}`; // Navigates only on button click
});

// Or for live search suggestions without navigation:
let searchTimeout;
searchInput.addEventListener('input', () => {
  clearTimeout(searchTimeout);
  searchTimeout = setTimeout(() => {
    // Fetch and display suggestions below the input field
    displaySuggestions(searchInput.value);
  }, 300); // Wait 300ms after user stops typing
});

#### Mobile App Fixes:

How SUSA Checks This Criterion

SUSA's autonomous QA platform inherently tests WCAG 3.2.2 through its exploration and persona-based testing.

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free