Pointer, touch and reflow
RunTwo failures, one of them serious. Everything else measured clean.
- Subject
- interfaces.institute
- Standard
- WCAG 2.2, Level A and AA
- Scope
- WCAG 2.2 A and AA, the criteria that govern pointer, touch and reflow
- Tested
- The built site (astro/dist), 15 pages, served locally on the day of launch.
- Run by
- An AI agent (Claude) driving a browser, at the director's request. The report is the agent's own, written in the first person.
- Method
- Every number is a measurement taken in the page, not a reading of the CSS. Viewports were emulated from 336 px up; no finger touched a screen. Target spacing was tested with the criterion's own 24 px circle, not by size alone.
- Published
- July 2026
Findings
two failed or at risk · seven passed
| Criterion | Finding | Result | Since |
|---|---|---|---|
| 1.4.13 AA | Thirty-four rooms of the building map were readable only on hover | fail | fixed July 2026 |
| 1.4.13 AA | A hover-only title explained a symbol on the lag tableStill open when the audit closed. It went when the collection was redrawn on 27 August; the symbol is now explained in visible text. | fail | fixed August 2026 |
| 2.5.8 AA | Target size passes, but only by the spacing exception | pass | |
| 1.4.10 AA | No horizontal scrolling at 336 px | pass | |
| 1.4.12 AA | No clipping under the four text-spacing overrides | pass | |
| 1.4.4 AA | No loss of content or scrolling at 200 % zoom | pass | |
| 2.5.7 AA | No dragging anywhere | pass | |
| 2.5.2 A | Activation is on click, not pointer down | pass | |
| 1.3.4 AA | No orientation lock | pass |
Not verified
- Real touch input. A pass on an emulated 375 px viewport is not a pass on a phone.
- Tap accuracy in the building map's room strip. The targets conform; the mis-tap rate is unmeasured.
The report
Failures
1 · Thirty-four rooms are unreadable without a pointer — 1.4.13 (AA)
The building section draws 44 rooms. On the ten ground-floor rooms the name is
also an aria-label on a link, so it survives. On the 34 rooms of the seven
unopened floors it exists only in a CSS ::after tooltip fired by :hover:
shutRooms: 34 · shutRoomsFocusable: 0 · shutRoomNameInTextContent: 0
A touch device has no hover. So on a phone those 34 rooms are anonymous grey rectangles, and the plan of the building — the thing the section exists to communicate — is simply absent. This is the most consequential finding in either audit, and it is one I introduced when I added the tooltips.
The same tooltip also fails 1.4.13 on its own terms, for the ten rooms that are focusable:
| 1.4.13 requirement | Status | Why |
|---|---|---|
| Dismissible | fail | No Escape handler; nothing dismisses it without moving the pointer |
| Hoverable | fail | pointer-events: none — moving onto the tooltip destroys it |
| Persistent | pass | Stays while hovered |
The user-agent exception does not apply: this is an author-styled ::after, not
a native title.
Fix. Put the room name in the accessible name and in text: give shut rooms
a visible label list under the slab at narrow widths, or render the room names as
real text and use the tooltip only as enhancement. Add Escape-to-dismiss and drop
pointer-events: none.
2 · A hover-only title on the lag table — 1.4.13 (AA)
collections/the-lag/ marks eight rows with ⌃ and explains it in
<span title="At the floor of the Baseline dataset…">. A span is not
focusable and touch has no hover, so the explanation of a symbol that appears
eight times is reachable by mouse only. One instance, but it annotates a finding.
Fix. Make it a footnote under the table, or a <button> with the text
adjacent.
Passes — measured, not assumed
Target size — 2.5.8 (AA) passes, but only by the spacing exception
Twelve targets on the home page are under 24 × 24 CSS px:
| Target | Size |
|---|---|
| 10 × ground-floor room links | 28 × 18 |
Collections floor name | 81 × 21 |
Open → | 46 × 13 |
I tested the spec's actual exception rather than the size alone — a 24 px diameter circle centred on each undersized target must not intersect another target's bounding box, nor another undersized target's circle. Room cells sit 29 px apart centre-to-centre with a 15 px gap to the neighbouring box, so the circles clear. Real failures: 0.
That is a conformance pass and a usability problem. An 18 px-tall target is roughly a fifth of the 44 × 44 that 2.5.5 (AAA) asks for and below what any platform guideline recommends — Apple's HIG says 44 pt, Material 48 dp. The room strip is a fiddly tap on a phone even though it conforms. This site publishes a collection about exactly that disagreement, which makes it worth fixing on principle rather than on obligation.
Reflow — 1.4.10 (AA) passes
No horizontal scrolling at the narrowest viewport available (336 px):
reflowScrollsX: false. The building section reflows to a stacked layout, the
mega panel goes single-column, and the tables move into their scroll containers.
An earlier reading of scrollWidth − clientWidth = 40 looked like an overflow
failure. It was scrollbar arithmetic — the only element outside the viewport is
the off-screen skip link at left: -9999px, and the document does not actually
scroll sideways. Reported as a pass on the strength of the scroll test, not the
arithmetic.
Text spacing — 1.4.12 (AA) passes
With all four required overrides applied (line-height: 1.5,
letter-spacing: .12em, word-spacing: .16em, paragraph spacing 2em):
0 clipped elements, no horizontal scrolling. The one element with
text-overflow: ellipsis — the floor note in the section — does not truncate at
any tested width (rmsTruncated: 0).
Resize text — 1.4.4 (AA) passes
At 200 % zoom: no horizontal scroll, overflow: 0. The site's own A+ control
(html.lg { zoom: 1.15 }) also causes no horizontal scroll.
Others
| Criterion | Level | Result |
|---|---|---|
| 2.5.7 Dragging Movements | AA | pass — no drag interaction anywhere |
| 2.5.1 Pointer Gestures | A | pass — no path-based or multipoint gestures |
| 2.5.2 Pointer Cancellation | A | pass — all activation is on click, not pointerdown |
| 2.5.4 Motion Actuation | A | pass — not applicable, no motion input |
| 1.3.4 Orientation | AA | pass — no orientation lock |
Not verified
- Real touch input. Viewports were emulated; no finger, no
touchstart, no platform gesture conflicts. A pass on a 375 px viewport is not a pass on a phone. - Tap accuracy in the room strip. The 28 × 18 targets conform but I have no measurement of mis-tap rate, which is the thing that actually matters.
Fixed — 2026-07-31, same day
| Finding | Fix | Verified |
|---|---|---|
| 34 rooms readable only on hover | Room names now render as visible text under every floor in the section, linked where the room is built | hoverOnlyRooms: 0 (was 34); 818 characters of room names in the DOM |
| Tooltip not hoverable | pointer-events: none removed | computed pointerEvents: auto |
| Tooltip not dismissible | Escape hides the tooltips without moving pointer or focus | escapeHushes: true |
The hover-only title on collections/the-lag/ is not yet fixed — it is the
one item from this audit still outstanding.
Cost of the room-name fix: the section grew from 548 px to 941 px on the home page. That is the right trade — the plan of the building is the point of the drawing, and it was invisible to every touch user.
Superseded — the tooltip is gone
The room tooltip was replaced entirely by a native <details> disclosure per
floor, so the 1.4.13 fixes above are moot: there is no hover-triggered content
left in the section. A disclosure is operable by tap, by keyboard and by screen
reader with no JavaScript, which is what the tooltip could not manage even after
being patched.
Two audit findings closed as a side effect:
- The ten 28 × 18 room links are gone. Slab cells are now decorative
<span>s insidearia-hidden="true"— no focus, no tap target, so the 2.5.8 usability concern (conformant but fiddly) no longer applies to them. - Real tab stops in the section while collapsed dropped from 39 to 15
(9 summaries + 6 floor links). Links inside a closed
<details>are unfocusable by native behaviour — verified:sampleCanFocus: false.
Correction — the tooltip is back, alongside the disclosure
I over-corrected by deleting the hover tooltip outright. It is restored, because naming one room under the pointer is genuinely useful and the disclosure does not replace it. The two now do different jobs:
| mechanism | who it serves | |
|---|---|---|
| Hover a slab cell | CSS tooltip on a decorative <span> | mouse: name one room fast |
Open the N rooms chip | native <details> | touch, keyboard, screen reader: read them all |
The tooltip is now enhancement over an accessible base, which is the only
arrangement that works: every room name is in the disclosure, so nothing depends
on hover. 1.4.13 is still satisfied on its own terms — Hoverable
(pointerEvents: auto), Persistent, and Dismissible by Escape
(escapeDismisses: true, restored on the next pointer interaction).
The cells stay out of the tab order (cellFocusable: false) and the slab stays
aria-hidden, so the tooltip adds no tab stops, no tap targets and no duplicate
screen-reader output.
Update — room cells are links again, and now pass 2.5.8 on measurement
The building map's built rooms link directly to the room. That reintroduces them as tap targets, so the slab was rebuilt around the criterion rather than against it:
| before | now | |
|---|---|---|
| slab height | 20px | 28px |
| narrowest cell, ≥1000px | 28 × 18 | 28 × 26 — passes 2.5.8 on size |
| narrowest cell, 400px | — | 22 × 26 — passes by the spacing exception, 0 failures |
| planned-room cells | links | inert spans, aria-hidden |
Below 1000px the slab drops to its own full-width row and the inter-cell gap goes to 2px. Twelve 24px targets cannot fit a 287px row — that is arithmetic, not CSS — so at phone widths the cells rely on the spacing exception, verified with the circle-versus-box test at 0 failures. On touch the disclosure list underneath remains the better target and reaches the same rooms.
Two measurement traps worth recording, because both produced false failures:
- Grid queries that disagreed. One breakpoint set
grid-column, another setgrid-row; at 400px they combined to drop the floor-name link on top of the room cells. Both queries now place every child explicitly. - Phantom targets. Links inside a closed
<details>still report layout boxes, so a naive probe counted them as neighbouring targets and reported 18 spacing failures that do not exist. They are neither perceivable nor focusable, so they are not targets. Excludingdetails:not([open])descendants gives the real answer: 0.