{"data":{"slug":"github-thedaviddias-front-end-checklist-skills-session-timeout-recovery-ef489466380f","title":"Prevent Data Loss from Session Timeouts","summary":"Ensure users can complete forms and authenticated tasks without losing data due to session timeouts by implementing warnings, autosave, and recovery mechanisms that align with accessibility standards.","url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-session-timeout-recovery-ef489466380f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-thedaviddias-front-end-checklist-skills-session-timeout-recovery-ef489466380f","markdown_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-session-timeout-recovery-ef489466380f.md","download_url":"https:\/\/skillshunter.net\/skills\/github-thedaviddias-front-end-checklist-skills-session-timeout-recovery-ef489466380f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Implement accessible timeout warnings and ensure autosave functionality is in place before users begin long forms or authenticated tasks. Verify that timeout dialogs are keyboard accessible and announced to assistive technology.","instructions":"---\nname: session-timeout-recovery\ndescription: \"Use when reviewing authenticated user flows or long forms. Check both client and server behavior: warning timing, dialog accessibility, autosave frequency, timeout extension, and post-login state restoration.\"\nmetadata:\n  category: accessibility\n  priority: high\n  difficulty: advanced\n  estimatedTime: \"30\"\n  source: frontendchecklist.io\n  url: https:\/\/frontendchecklist.io\/rules\/accessibility\/session-timeout-recovery\n---\n\n# Prevent data loss from session timeouts\n\nUsers with cognitive, motor, or vision disabilities may need longer to finish forms and authenticated tasks. Silent session expiry can erase work, force a restart, and block completion of important transactions.\n\n## Quick Reference\n\n- Warn users before a timeout causes lost work\n- Allow time extension for content-controlled time limits when feasible\n- Autosave or preserve entered data across logout and re-authentication\n- Keep timeout dialogs keyboard accessible and announced to assistive technology\n\n## Check\n\nReview authenticated flows, forms, and long-running tasks for inactivity timeouts. Verify users are told the timeout duration, warned before expiry, can extend the session when allowed, and can resume after re-authenticating without losing work.\n\n## Fix\n\nAdd an accessible timeout warning, preserve drafts or submitted data across session expiry, and restore the user to the same step after re-authentication. Where the time limit is content-controlled, offer turn off, adjust, or extend behavior when feasible.\n\n## Explain\n\nExplain how timeout warnings, extension controls, autosave, and re-authentication recovery reduce data loss and align with WCAG enough-time guidance.\n\n## Code Review\n\nReview authenticated forms, checkout flows, editors, and long-running tasks related to Prevent data loss from session timeouts. Flag routes or components that can expire silently, discard entered data, or block recovery after re-authentication.\n\n---\n\nFor full implementation details, code examples, and framework-specific guidance,\nsee `references\/rule.md`.\n\nRule page: https:\/\/frontendchecklist.io\/rules\/accessibility\/session-timeout-recovery\n","use_cases":["Reviewing authenticated user flows for session timeout recovery","Testing long forms for autosave and post-login state restoration","Ensuring keyboard accessibility for timeout dialogs"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/thedaviddias\/Front-End-Checklist\/blob\/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e\/skills\/session-timeout-recovery\/SKILL.md","source_commit":"e8d14d049010e2ce25afcd5e8609dfcbbe63e47e","license":null,"version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T05:36:09.000000Z","updated_at":"2026-11-24T07:12:32.000000Z","seo_title":"Prevent data loss from session timeouts","seo_description":"Ensure users can complete forms and authenticated tasks without losing data due to session timeouts. Implement warnings, autosave, and recovery mechanisms.","seo_keywords":["session timeout recovery","prevent data loss from timeouts","accessibility session timeout","autosave after logout","re-authentication recovery"]}}