A11yScannerScaffold

fun A11yScannerScaffold(scannerController: A11yScannerController, config: ScannerConfig, modifier: Modifier = Modifier, issueOffsetY: Int = 0, content: @Composable () -> Unit)

Root scaffold that wires the full accessibility scanner UI around content.

Layer order (back to front):

  1. content — the host screen being inspected

  2. A11yIssueOverlay — colored highlight boxes over flagged nodes

  3. ScanSummaryBar — pinned at the top; slides in once scanning begins

  4. IssueDetailPanel — slides up from the bottom when an overlay box is tapped

ScanReportSheet is opened by tapping the score chip inside ScanSummaryBar.

A new scan starts automatically when the scaffold enters composition and again whenever config changes. The in-flight scan is stopped when the scaffold leaves composition.

Parameters

scannerController

Controller that runs scans and exposes scanner state.

config

Scanner configuration applied to the controller.

modifier

Modifier applied to the root scaffold.

issueOffsetY

Vertical offset applied to issue highlights.

content

Host UI content being scanned.