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 AccessibilityAction | An action that assistive technology can invoke on a semantic node. |
class AccessibilityAssertions | Automated semantic-tree assertions suitable for unit tests and CI. |
enum AccessibilityCheckedState | Checked state for checkable semantic nodes. |
interface AccessibilityChildProvider | Supplies semantic children that are not represented by persistent lightweight components, such as renderer-backed list rows and table cells. |
class AccessibilityCollectionInfo | Metadata describing a list, grid, table, or other collection. |
class AccessibilityCollectionItemInfo | Position and span metadata for an item in a semantic collection. |
enum AccessibilityGrouping | Controls how a component and its descendants participate in the semantic tree. |
class AccessibilityInspector | Read-only semantic-tree inspection entry point for tests and developer tools. |
class AccessibilityIssue | A deterministic accessibility audit finding. |
enum AccessibilityLiveRegion | How changes to a semantic node should be announced without moving focus. |
class AccessibilityManager | Builds, caches, diffs, and dispatches actions for the portable semantic tree. |
class AccessibilityNode | Mutable semantic configuration for a lightweight component or virtual child. |
class AccessibilityNodeSnapshot | Immutable resolved node exported to platform accessibility adapters and test tooling. |
class AccessibilityRange | Numeric value metadata for sliders, progress indicators, spin buttons, and other adjustable controls. |
enum AccessibilityRole | The semantic role of a lightweight component or virtual accessibility node. |
class AccessibilityTreeSnapshot | Immutable accessibility tree for the current form. |