liveBook · Manning

Session timeout

As explained in Architecting Accessibility

A session timeout ends or interrupts a user's session after a period of inactivity or elapsed time.

A timeout can protect data on shared devices, but it can also erase a long form when someone pauses to find information. When a limit is necessary, give users control where possible and preserve their effort so signing back in does not mean starting over. section 7.8 section 6.7

Make an unavoidable timeout easier to recover from:

  • Save long or multi-step forms to persistent storage, intermittently or through unobtrusive autosaving, and tell users when a save occurs. Use polite live regions to communicate saves to assistive technology users. section 7.8 section 7.8
  • After sign-in, restore saved answers and return users to where they left off in a multi-page form. Explain when sensitive fields, such as card security codes, must be entered again. section 7.8
  • Where applicable, warn users before expiry and offer opportunities to extend the session. section 7.9

A paused application form

Someone pauses a government-service application to look up a passport number. If the session expires, saved answers can be restored after sign-in so the person can continue rather than re-entering the entire form. section 7.8 section 7.8

How Architecting Accessibility covers it

How deep it goes
Recommends persistent saves, form restoration, and accessible save announcements without specifying implementation code.
Examples
Uses a government application interrupted by a passport-number search and discusses re-entering card security codes.
What you can do after
Apply graceful timeout handling by saving form data, announcing saves, and restoring users’ progress after sign-in.
How it connects
Connects session timeouts with persistent storage, autosaving, live regions, and authentication.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecting Accessibility. The section links point to the parts of the book it draws on.