Explain the state
Separate first use, search mismatch and simulated errors instead of reusing one vague message.
Day 082 / UI / Accessibility
Explore first-use, no-results and simulated error states with clear recovery actions in a local browser gallery.
Separate first use, search mismatch and simulated errors instead of reusing one vague message.
Each state provides a matching recovery button and preserves existing samples when retrying.
Semantic headings, labels, visible focus and a status message expose the current state.
Five passing logic tests
Three distinct empty-state examples
Explicit recovery actions
Synthetic in-memory samples
HTML, responsive CSS and JavaScript modules run with a static server.
Five tests cover state precedence, filtering and preservation of the input list.