Skip to main content

Crate incular_accessibility

Crate incular_accessibility 

Source
Expand description

Native accessibility projection for Incular.

incular_semantics::SemanticsTree remains the retained, platform-neutral source of truth. This crate projects it to AccessKit at the desktop-native boundary; it does not introduce a second semantic model. AccessKit node IDs are private to one live native window and never enter widget/facade APIs.

Structs§

AccessKitProjection
Stateful, generation-safe projection from one Incular tree to one native AccessKit tree. One instance belongs to one native window.
AccessibilityDiagnostics
Per-native-window health counters. They intentionally contain no private labels, descriptions, or text-field values.
MobileAccessibilityEvent
MobileAccessibilityNode
A node snapshot using stable native-facing IDs while retaining the renderer-independent semantic node for platform conversion.
MobileAccessibilityProjection
Incremental, generation-safe semantic projection for mobile screen-reader bridges. It deliberately has no JNI, Objective-C, or window references; each mobile crate can consume the same update contract on its UI thread.
MobileAccessibilityUpdate
NativeAccessibilityUpdate
Generated native update consumed immediately by a Winit adapter.
SemanticActionRequest
An action emitted by a native accessibility bridge for a semantic node.
SemanticNode
SemanticNodeId
SemanticState
SemanticsDiagnostics
SemanticsSnapshot
An owned semantic tree snapshot suitable for a platform bridge.
SemanticsTree
Retained semantic arena. IDs are generational, so stale platform actions cannot address a node that later reuses the same storage slot.
TextSelection

Enums§

AccessKitUpdateKind
CheckedState
Value of a checkable control. None in SemanticState::checked means the node is not checkable; an indeterminate control is still checkable.
MobileAccessibilityEventKind
Change categories emitted by the mobile accessibility projection. Native Android and iOS bridges translate these into their platform notifications.
Role
SemanticAction
A request received from a native accessibility adapter. Text offsets use the editing model’s UTF-8 byte indexing convention.
SemanticActionKind

Traits§

SemanticsAdapter
Small platform-neutral testing seam retained from the previous adapter API.

Type Aliases§

SemanticRole