2.2 Enough Time · SC 2.2.6

AAA2 min read

Timeouts

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.

In plain language

If being inactive for a while could make someone lose their data, the site needs to warn them in advance how long they have, or keep their data safe for at least 20 hours even if they do nothing.

Why it matters

People need to know how much time they have so they can plan around it, whether that means stepping away, taking a break, or getting help. Without a warning or a long enough grace period, someone can come back and find their work gone without any notice.

In practice

Fails this criterion

A tax filing site logs users out after 1 hour of inactivity and never mentions this time limit.

Meets this criterion

The same site clearly warns users about the 1-hour limit before they start, or, better, saves their data for 24 hours so nothing is lost if they step away.

Test it yourself

Look for any process on the site that could time out (a long form, a multi-step application). Is there a clear warning about how long you have, or does your data stay safe for a long time regardless?

Read SC 2.2.6 on the official WCAG 2.2 specification ↗