package com.codename1.ui.accessibility

Defines the portable accessibility semantics tree for Codename One’s lightweight user-interface components. Applications use this package to describe roles, states, values, ranges, actions, traversal, grouping, live regions, panes, collections, and virtual descendants. Platform ports translate the resulting immutable tree to their native accessibility APIs.

The entry point for configuring a component is Component.getSemantics(). Tests and development tools can inspect a resolved tree with AccessibilityInspector and validate it with AccessibilityAssertions.

Types

class AccessibilityActionAn action that assistive technology can invoke on a semantic node.
class AccessibilityAssertionsAutomated semantic-tree assertions suitable for unit tests and CI.
enum AccessibilityCheckedStateChecked state for checkable semantic nodes.
interface AccessibilityChildProviderSupplies semantic children that are not represented by persistent lightweight components, such as renderer-backed list rows and table cells.
class AccessibilityCollectionInfoMetadata describing a list, grid, table, or other collection.
class AccessibilityCollectionItemInfoPosition and span metadata for an item in a semantic collection.
enum AccessibilityGroupingControls how a component and its descendants participate in the semantic tree.
class AccessibilityInspectorRead-only semantic-tree inspection entry point for tests and developer tools.
class AccessibilityIssueA deterministic accessibility audit finding.
enum AccessibilityLiveRegionHow changes to a semantic node should be announced without moving focus.
class AccessibilityManagerBuilds, caches, diffs, and dispatches actions for the portable semantic tree.
class AccessibilityNodeMutable semantic configuration for a lightweight component or virtual child.
class AccessibilityNodeSnapshotImmutable resolved node exported to platform accessibility adapters and test tooling.
class AccessibilityRangeNumeric value metadata for sliders, progress indicators, spin buttons, and other adjustable controls.
enum AccessibilityRoleThe semantic role of a lightweight component or virtual accessibility node.
class AccessibilityTreeSnapshotImmutable accessibility tree for the current form.