Expand description
Bounded semantic input for a native accessibility bridge, not OS registration or evidence of screen-reader support. Text follows structural IR order, not inferred visual reading order. Keys are session-local revision + address; they deliberately make no cross-revision identity promise.
Structs§
- Native
Accessibility Node - Native
Accessibility Node Geometry - Native
Accessibility Range - Half-open top-level body paragraph range, including its table-cell subtrees. A page filter is intentionally absent: paragraphs can span multiple pages.
- Native
Accessibility Request - Native
Accessibility Selection Geometry - Native
Accessibility Snapshot
Enums§
Constants§
- MAX_
ACCESSIBILITY_ DEPTH - MAX_
ACCESSIBILITY_ GEOMETRY_ QUERIES - MAX_
ACCESSIBILITY_ GEOMETRY_ TEXT_ BYTES - Optional geometry uses existing core queries, not a layout CPU/time budget. Keep each queried paragraph and selection bounded before calling them.
- MAX_
ACCESSIBILITY_ NODES - MAX_
ACCESSIBILITY_ SELECTION_ PARAGRAPHS - MAX_
ACCESSIBILITY_ SELECTION_ RECTS - MAX_
ACCESSIBILITY_ SELECTION_ SCALARS - MAX_
ACCESSIBILITY_ TEXT_ BYTES - MAX_
ACCESSIBILITY_ WORK_ ITEMS
Functions§
- native_
scalar_ to_ utf16 - Convert decoded text scalar boundaries to OS UTF-16 units. These are not HWP raw char_offsets (which can include control slots). Inputs are <=1 MiB UTF-8.
- native_
utf16_ to_ scalar - Reject UTF-16 offsets inside a surrogate pair, rather than rounding to a neighboring scalar. Combining marks remain distinct scalars, not graphemes.