All lessons in Software Engineering: Programs, Systems, and Maintainable Software
Interface State and Accessible Interaction
Model pending, success, and failure states and specify keyboard-accessible interactions.
35 minutes · Members lesson · preview
What you will learn
- Model a user interaction with explicit pending, success, and failure states.
- Specify semantic controls and keyboard behavior for a lending form.
- Prevent stale results from replacing a newer user selection.
A staff member selects copy C17, starts a lookup, then quickly selects C18. The C18 result arrives first and shows available. A slower C17 result arrives afterward and overwrites the display. The interface now describes a different copy from the one selected. The database may be correct while the user's decision is based on stale interface state.
Interface engineering requires explicit state and event handling. You do not need a particular framework to specify which result belongs to which interaction or how a keyboard user completes the same task.