focus_order
Returns the keyboard focus order for a UI description, verifying reachability and tab sequence without driving the UI.
Instructions
Return the keyboard focus order: the refs a Tab cycle visits, in order, honoring a modal focus trap (disabled controls excluded). Verifies reachability and tab sequence as typed data, without driving the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| theme | No | ||
| description | Yes | The UI description: a `fenestra/1` JSON object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Focusable node refs in tab order, honoring a modal focus trap (disabled controls excluded). |