# States a theme must style
`specimen.html` is a static snapshot: every element is shown at rest, with no
pointer over it, no keyboard focus and no script running. The states below
cannot be seen in it, but real pages reach every one of them. Style each, and
the check of the returned theme looks for the selector forms given here.
Selectors are written against the markup the specimen holds. Where the engine
adds a class or attribute itself, the source is named, so the list can be
checked against the engine when it changes.
## Links
| State | When it happens | Selector forms to look for |
|-------|-----------------|----------------------------|
| Hover | Pointer over a link | `a:hover` |
| Keyboard focus | Tabbing to a link | `a:focus-visible` (a bare `:focus` also counts, but `:focus-visible` is preferred so a click does not leave a ring) |
| Visited | A link already followed | `a:visited` (only colour can change; browsers ignore other properties here) |
| Pressed | While the pointer is held down | `a:active` |
| Inside other elements | Links in headings, lists, tables, quotations, boxes, footnotes and on any dark panel | `h2 a`, `li a`, `td a`, `blockquote a`, `.footnotes a`, or a general `a` rule that holds contrast on every surface |
| Footnote markers | The numbered marker and the return arrow | `a.footnote`, `a.reversefootnote`, `.footnotes` (added by the Markdown converter) |
| Current page in the navigation | The link for the page being viewed | The shipped layouts mark it with `class="active"` on the `` (for example `.site-nav a.active`); the engine's fallback chrome uses `.nav-link[aria-current="page"]`. The specimen page is not in the navigation, so this state never shows in `specimen.html`; see `pages/home.html` for the home link. |
## Buttons
The form's submit button is `