pub struct Semantics {Show 66 fields
pub environment: Option<Environment>,
pub focus_scope: Option<FocusScopeConfig>,
pub clipboard: Option<ClipboardText>,
pub sort: Option<SortDirection>,
pub input_edit: Option<InputEditCapture>,
pub translation: Option<TranslationMotion>,
pub input_assist: Option<InputAssist>,
pub placeholder: Option<String>,
pub collapse: Option<CollapseConfig>,
pub presence: Option<Box<PresenceConfig>>,
pub drag_capture: Option<DragCapture>,
pub swipe_capture: Option<SwipeCapture>,
pub context_menu: Option<ContextEditPolicy>,
pub tags_input: Option<TagSeparators>,
pub progress: Option<ProgressValue>,
pub splitter: Option<RangeValue>,
pub slider: Option<SliderValue>,
pub spinbutton: Option<SpinValue>,
pub scroll_keyboard: Option<ScrollAxes>,
pub busy: Option<bool>,
pub current: Option<Current>,
pub separator_axis: Option<Orientation>,
pub link_open: Option<LinkOpen>,
pub link_request: bool,
pub document_part: Option<DocumentPart>,
pub table: Option<TableMetadata>,
pub form_action: Option<FormAction>,
pub form_control: Option<FormControl>,
pub field_part: Option<FieldPart>,
pub label_for: Option<SemanticId>,
pub error_message: Option<SemanticId>,
pub required: bool,
pub readonly: bool,
pub invalid: bool,
pub id: Option<SemanticId>,
pub controls: Option<SemanticId>,
pub labelled_by: Option<SemanticId>,
pub described_by: Option<SemanticId>,
pub popup: Option<PopupKind>,
pub combobox: Option<ComboboxKind>,
pub option: Option<OptionSemantics>,
pub active_descendant: Option<SemanticId>,
pub listbox_multiple: bool,
pub menu_item: Option<MenuItemSemantics>,
pub menu_search: Option<SemanticId>,
pub menubar_item: bool,
pub layer: Option<Layer>,
pub sheet_grip: bool,
pub expanded: Option<bool>,
pub selected: Option<bool>,
pub pressed: Option<bool>,
pub tab: bool,
pub disabled: bool,
pub hidden: bool,
pub inert: bool,
pub navigation: Option<Orientation>,
pub grid_navigation: Option<Direction>,
pub grid_multiple: bool,
pub tree_navigation: Option<TreeNavigation>,
pub tree_item: Option<TreeItem>,
pub tree_checked: Option<TreeCheckState>,
pub navigation_item: bool,
pub navigation_panel: Option<NavigationPanel>,
pub check_group: Option<SemanticId>,
pub navigation_direction: Direction,
pub typeahead: bool,
}Expand description
Optional and finite: ordinary nodes allocate none of this metadata. Named relations may refer forward or to an unmounted target; adapters resolve only live names in their document. Removing a target retains no owning reference.
Fields§
§environment: Option<Environment>Explicit inherited text direction/language on an ordinary boxed View.
focus_scope: Option<FocusScopeConfig>A focus-only boundary. It has no role, top-layer paint or inert backdrop.
clipboard: Option<ClipboardText>Nonphysical source read from the accepted semantic tree only when a typed clipboard action is admitted. It is not duplicated into HTML.
sort: Option<SortDirection>Present only on a structural column header; actions remain intrinsic buttons.
input_edit: Option<InputEditCapture>Replace ordinary host ValueChanged with one bounded post-edit path.
translation: Option<TranslationMotion>Finite paint-only motion on an inert, independently boxed View.
input_assist: Option<InputAssist>Finite single-line input hints; no automatic code or credential retrieval.
placeholder: Option<String>Optional bounded presentation hint on Input, never its accessible name, stored value, default value or composition state.
collapse: Option<CollapseConfig>Optional intrinsic-height presentation with immediate logical hiding.
presence: Option<Box<PresenceConfig>>Optional finite opacity/transform presence; logical availability is immediate.
drag_capture: Option<DragCapture>Primary-pointer capture, in viewport CSS pixels.
swipe_capture: Option<SwipeCapture>Axis intent capture preserves orthogonal native panning.
An explicit context region. Touch long-press remains host-native.
Opted-in free tag entry policy; retains the Input’s intrinsic textbox.
progress: Option<ProgressValue>§splitter: Option<RangeValue>§slider: Option<SliderValue>§scroll_keyboard: Option<ScrollAxes>Opt-in keyboard commands only while this viewport itself owns focus.
busy: Option<bool>An application-owned pending state on a boxed semantic node.
current: Option<Current>§separator_axis: Option<Orientation>§link_open: Option<LinkOpen>§link_request: boolCapture activation as an application request before default navigation.
document_part: Option<DocumentPart>§table: Option<TableMetadata>§form_action: Option<FormAction>§form_control: Option<FormControl>§field_part: Option<FieldPart>§label_for: Option<SemanticId>§error_message: Option<SemanticId>§required: bool§readonly: bool§invalid: bool§id: Option<SemanticId>§controls: Option<SemanticId>§labelled_by: Option<SemanticId>§described_by: Option<SemanticId>§popup: Option<PopupKind>§combobox: Option<ComboboxKind>§option: Option<OptionSemantics>§active_descendant: Option<SemanticId>§listbox_multiple: boolSingle-line search editor controlling its nearest named Menu. Matching, highlight and activation remain owned by the component.
An intrinsic action trigger belonging to a structural Menubar.
layer: Option<Layer>§sheet_grip: boolPassive grip hit area; the nearest live sheet owns pointer gestures.
expanded: Option<bool>§selected: Option<bool>§pressed: Option<bool>A toggle button’s application-owned state; independent from disclosure.
tab: boolRefine a Button’s intrinsic interaction to a tab, retaining activation.
disabled: boolKeep a control focusable, while suppressing activation (e.g. the sole expanded header in an accordion that cannot collapse completely).
Hide a View subtree without destroying its state or removing its names.
inert: boolRetain a View’s content and layout while suppressing subtree interaction and accessibility exposure. This is not a scroll lock or a modal scope.
Explicit collection boundary, independent of virtual-list navigation.
A two-dimensional physical Button navigation boundary, independent of the linear collection navigation protocol.
grid_multiple: boolA Grid that permits more than one selected cell.
tree_item: Option<TreeItem>§tree_checked: Option<TreeCheckState>A checkable tree item, independent from list selection and Check props.
check_group: Option<SemanticId>Native radio association; not an accessible name or a submission value. HTML uses the same attribute for native grouping and successful names.
typeahead: boolOpt in to bounded character search on the collection’s mounted members.