This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.
Use this flow to check a full site, one page, or an available page collection, then fix and verify the returned issues.
To scan, fix, and verify accessibility issues:
suggestedPollIntervalSeconds delay when the response
includes it; otherwise, poll every 5 seconds. Continue while the status is
ACCESSIBILITY_SCAN_STATUS_QUEUED or
ACCESSIBILITY_SCAN_STATUS_RUNNING.ACCESSIBILITY_SCAN_STATUS_FAILED, inspect failure, correct the
cause, and start a new scan with a new idempotency key.ACCESSIBILITY_SCAN_STATUS_COMPLETED or
ACCESSIBILITY_SCAN_STATUS_PARTIALLY_COMPLETED, continue to the result
methods.humanInputRequired is true.Handle recoverable run errors as follows:
SCAN_ALREADY_IN_PROGRESS, poll the returned scan ID.SCAN_STATE_UNKNOWN, retry Get Accessibility Scan with the returned
scan ID. Don't start a replacement scan until it reaches a terminal state.IDEMPOTENCY_KEY_REUSED, use a new UUID for the genuinely new scan.SCAN_SIZE_LIMIT_EXCEEDED, use maxPageCount to choose a narrower page
or page-collection target.Use this flow when a recent stored result may satisfy the request without starting another scan.
To reuse a recent scan result:
ACCESSIBILITY_SCAN_STATUS_QUEUED or
ACCESSIBILITY_SCAN_STATUS_RUNNING, poll Get Accessibility Scan
after the positive suggestedPollIntervalSeconds delay when the response
includes it; otherwise, poll every 5 seconds.ACCESSIBILITY_SCAN_STATUS_FAILED, inspect failure,
correct the cause, and start a new scan with a new idempotency key.ACCESSIBILITY_SCAN_STATUS_COMPLETED or
ACCESSIBILITY_SCAN_STATUS_PARTIALLY_COMPLETED, check the completion and
result-expiration dates.Last updated: 6 August 2026