Documentation
    Preparing search index...

    Interface WidgetStateSnapshot

    A widget's interaction state at one instant (§72, §75).

    The flags §75 asks a mirror to expose that this tier can actually observe. expanded still belongs to a control that does not ship (see UI_STAGED); checked joined the record on 2026-08-07 (A-12) when Toggle, Checkbox, and RadioButton shipped.

    interface WidgetStateSnapshot {
        checked: boolean | null;
        disabled: boolean;
        focused: boolean;
        hovered: boolean;
        pressed: boolean;
    }
    Index
    checked: boolean | null

    Whether a checkable control is checked — and null for a widget that is not checkable at all, which is most of them.

    Three-valued rather than false-by-default for ARIA's own reason: an aria-checked of false says "this is a checkbox and it is clear", while an absent one says "this is not a checkbox". A panel reporting false would tell a §75 mirror the first when the truth is the second. See UIWidget.checked.

    disabled: boolean

    This widget refuses interaction (§75's disabled state).

    focused: boolean

    This widget holds the focus of its scene root (§75).

    hovered: boolean

    A pointer is over this widget's hit area.

    pressed: boolean

    A pointer is pressed on this widget.