Goal
Warn users about inactivity timeouts that could cause data loss.
Loading ...
Success Criterion · WCAG 2.2.6
Users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.
Goal
Warn users about inactivity timeouts that could cause data loss.
What to do
Provide a warning before inactivity timeouts occur and explain how to extend or prevent data loss.
Why it matters
Inactivity timeouts can end sessions unexpectedly; users may need more time and may lose work if not warned.
Success criterion
Summarized directly from the official Understanding document so teams can quote the requirement accurately.
Users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions.
Intent
Benefits
Why it matters
Summaries drawn from the Understanding document help you socialize impact statements with product stakeholders.
Users may lose unsaved work without warning.
Users may abandon tasks if they cannot trust that progress will be preserved.
Exception guidelines
Document the rationale for each exception and note which alternative support you provide.
If data is preserved for more than 20 hours without user action, warning is not required.
Requirement
Preserve data for > 20 hours to qualify for this exception.
If your system uses inactivity timeouts that can cause loss of data (unsaved changes), you must warn users about the timeout duration. If data is preserved for more than 20 hours without user action, you do not need to warn.
Reference: All summaries and highlights originate from Understanding WCAG 2.2.6 and the W3C quick reference.
Examples
Share pass/fail snapshots to coach designers, engineers, QA, and content authors.
Pass
Before form entry, UI states: “You will be logged out after 15 minutes of inactivity. Drafts are saved.”
Fail
Session expires with no warning and user loses unsaved changes.
Pass
Draft is saved and restored after returning later.
Fail
No autosave; inactivity equals data loss.
Evidence to keep
Capture artifacts for VPATs, procurement reviews, and regression testing.
Official resources
Keep these links handy when writing acceptance criteria or responding to audits.
Implementation checklist
Testing ideas
Related success criteria