accessibilitySnapshot method

AccessibilitySnapshot accessibilitySnapshot()

Returns a text-first accessibility/fallback snapshot for the tree.

The snapshot is derived from semantic nodes, so it preserves redaction, focus, selection, validation, capability fallback, progress, and action state without reading rendered cells.

Implementation

AccessibilitySnapshot accessibilitySnapshot() {
  _assertNotDisposed('accessibilitySnapshot');
  return semantics().toAccessibilitySnapshot();
}