Keyboard and assistive technology
The card is a focusable role="group", labelled with its title, category, status and enabled state (left out with :toggleable="false", where there is no state to report). Every control inside it is a real button with its own accessible name.
| Key | Where | Does |
|---|---|---|
| Tab | Anywhere | Moves through the card and its controls. |
| ← → ↑ ↓ | Card | Moves the card by one canvas unit. |
| Shift + arrow | Card | Moves it by ten. |
| Enter / Space | Port | Starts a connection, or completes one already started. |
| Esc | Port | Abandons a connection in progress. |
| Enter / Space | Collapse chevron, toggle, remove | Activates that control. |
Connecting by keyboard walks the same two-step path the mouse does and goes through the same handlers, so a keyboard connection is indistinguishable from a dragged one to the host. While a connection is in progress, valid targets ring and invalid ones dim exactly as they do for the mouse, which is what makes the keyboard flow navigable at all.
Nudging is routed through the parent NbBlueprint, so it reports itself with the same move event a drag does, and nudging a card that is part of the selection moves the whole selection, again matching the mouse. Positions have one path out of the component, not two.
Focusing a card also selects it, so the inspector and the canvas agree about what the user is looking at.
On a read-only canvas the card and its controls stay focusable and keep their names, so a reader can still walk the graph, but the arrow keys do not move the card and Enter on a port starts nothing.
The active and pending statuses are spoken as "In progress" and "Pending" (blueprintStatusActive and blueprintStatusPending in the strings, so a product can translate or reword them). The turning arc of active respects reduced motion: it becomes a ring that breathes in opacity, with no rotation.