Version 3.0
PublishedLatest publishedApproved for release to the insurer.
C-44 · Components · Versioning
All elements · VersionHistory on the Components page
Last checked 2026-10-22 · Awaiting approval · Accessibility tests
Approving as
Every version of a document, newest first, grouped by Published version with its Draft checkpoints beneath. Published rows are solid with a green edge, Superseded rows sunken and muted, Draft rows indented with a dashed edge; each also says its status in a badge. Published only hides the drafts. In the editor's side pane and on the qaction document screen.
| Axis / element | Values |
|---|---|
.qf-version-history[data-filter] |
all (default) · published |
__toolbar · [data-version-filter] · __count |
the Published only switch and the polite count |
__groups › __group (data-drafts-only) ›
__toggle · __drafts
|
one group per major number; the disclosure (aria-expanded,
aria-controls) shows its drafts
|
.qf-version[data-status] · aria-current · data-version
|
published · superseded · draft / the version that is open / its label |
.qf-version-history__head · .qf-hold-badge |
the title row; under legal hold it carries the On hold badge, a warning
.qf-chip with the gavel and its words, also used in a pane's
.qf-object__meta
|
__head · __label · __status[data-status] ·
__tag · __meta · __comment · __actions
|
row parts; actions carry data-version-action = open · compare · restore |
Approved for release to the insurer.
Adds the moisture readings to section 2.
Created from the Harbourline site report.
__group starts with a Published or Superseded version
and holds the Draft checkpoints with the same major number beneath it (__drafts).
__toggle names how many
drafts it holds.
[data-version-filter]) and keep __count in step with
what is shown.
aria-current="true" and a __tag (Current,
Viewing, Latest published).
.qf-hold-badge, a warning
Chip with the gavel and the words On hold) in __head beside the title, and the same badge
in the pane header beside the file name; take it away when the last hold is released.
__status on every row: Published, Superseded or Draft.| Keys | Action |
|---|---|
| Tab / Shift+Tab | Moves through the Published only switch, each group's disclosure and each row's actions in reading order. |
| Space on Published only | Toggles the filter; __count announces the new count politely. |
| Enter or Space on a disclosure | Shows or hides that group's drafts (aria-expanded). |
<ol> of groups and each group's drafts a nested
<ol> with an aria-label ("Drafts since 3.0").
<article> labelled by its heading (__label, one level
below the pane title).
aria-label ("Open version
3.0"), so the name contains the label (2.5.3).
__count is role="status".aria-hidden glyph, never the glyph alone (1.1.1); it is
static, not a live region.
Test your implementation too. This guidance covers the element as specified here. How a screen composes it (labels, order, announcements) still needs its own keyboard and screen reader check.
Passed the gate (run 358b316 on 2026-10-22): no finding in any theme. Awaiting a person’s approval of the checklist below.
| Area | Automated | A person checks |
|---|---|---|
| General | Passed | Color is never the only cue, text alternatives say the same thing as the graphic, and the element reads the same in the light and the dark theme. |
| Zoom | Passed | At 200% zoom, at 320 CSS pixels wide and with the WCAG text-spacing overrides, nothing is lost, clipped or overlapping. |
| Keyboard | Passed | Every row of the Keyboard table works, focus is always visible and never trapped, and the tab order follows the reading order. (3 rows) |
| Screen reader | Passed | With NVDA or JAWS on Windows and VoiceOver on macOS, names, roles and states are announced as Roles and names says, and changes are announced once. (5 items) |
Approving. When the checklist passes on the checked run, record it with
bun run a11y:approve -- version-history --by "Your name" and commit
a11y/approvals.json with the rebuilt pages.
All test status
Consumers link one stylesheet, css/classic/index.css, which includes every element. The
files below are where this element is defined.
| Date | Version | Breaking | Description |
|---|---|---|---|
| 2026-10-10 | 0.1 | No | Legal hold before publishing: the Publish version dialog's Under legal hold banner is named in the dialog's aria-describedby so it is read on open (You can publish. No version of this document can be deleted or pruned while it is held.); new .qf-hold-badge (a warning Chip with the gavel and On hold) for a pane header's .qf-object__meta and the new .qf-version-history__head title row, both skins (QF-10830) |
| 2026-10-08 | 0.1 | No | VersionHistory (.qf-version-history, .qf-version): versions grouped by published version with draft checkpoints beneath, Published only filter, Draft / Published / Superseded badges, Open, Compare and Restore as checkpoint (QF-10840) |