Page navigation
PageControlLet users work through a form from the keyboard, as in a desktop app.
Overview
PageControl gives a Blazor page desktop-style keyboard navigation: Tab and Shift+Tab follow the order you define across inputs and grids, and keyboard shortcuts jump between regions. Use it on data-entry screens such as a supplier record, so users keep their hands on the keyboard; the order is a graph of named focus nodes that can wrap at the ends, and FocusFirstNodeOnLoad puts the cursor in the first field when the page opens.
Examples
#A supplier record worked from the keyboard
Click into the first field and press Tab: focus walks the details, enters the grid at its first cell, leaves it for the switches, and after the last switch leaves the record for the rest of the page. Alt+D, Alt+C and Alt+S jump to a region (not on a Mac; see Keys); Previous and Next show another supplier and put focus back in the first field.
Details Alt+D
Contacts Alt+C
| Contact | Role | Phone | Active | |
|---|---|---|---|---|
| Rubeus Haggle | Order desk | +1 303 555 0143 | rubeus.haggle@simmerdown.example | True |
| Minerva McGadget | Accounts | +1 303 555 0144 | minerva.mcgadget@simmerdown.example | True |