Crate accesskit[−][src]
Re-exports
pub use kurbo;
Structs
Defines a custom action for a UI element. For example, a list UI can allow a user to reorder items in the list by dragging the items.
A single accessible object. A complete UI is represented as a tree of these.
The stable identity of a node, unique within the node’s tree.
A marker spanning a range within text.
Offsets are in code units for the encoding specified in
Tree::source_string_encoding
.
The data associated with an accessibility tree that’s global to the tree and not associated with any particular node.
The globally unique ID of a tree. The format of this ID is up to the implementer. A UUID v4 is a safe choice.
A serializable representation of an atomic change to a tree. The sender and receiver must be in sync; the update is only meant to bring the tree from a specific previous state into its next state. Trying to apply it to the wrong tree should immediately panic.
Enums
An action to be taken on an accessibility node.
In contrast to DefaultActionVerb
, these describe what happens to the
object, e.g. “focus”.
Describes the action that will be performed on a given node when
executing the default action, which is a click.
In contrast to Action
, these describe what the user can do on the
object, e.g. “press”, not what happens to the object as a result.
Only one verb can be used at a time to describe the default action.
Function that can be performed when a dragged object is released on a drop target. Note: aria-dropeffect is deprecated in WAI-ARIA 1.1.
Indicates if a form control has invalid input or if a web DOM element has an aria-invalid attribute.
The type of an accessibility node.
Traits
Handles requests from assistive technologies or other clients.