test(audit): measure effective tap targets and report violation tiers
Raw element boxes overstated violations, so the check now measures what a user actually taps, and reports the tiers separately (violation under 24px, marginal 24-39px, inline-exempt): - effective target is the wrapping label, or label[for] for small checkables only. Verified in the browser that clicking a label toggles its Radix Switch (label rows are 84px tall); a Select's 14px caption label is not charged because its 36px trigger is the real target - stretched-link cards (after:absolute inset-0) are measured on the positioned ancestor, not the 18px anchor inside - sr-only proxy controls (under 8px) and input[type=range] are excluded (a slider's thumb is the target, not the 4px track) - display:inline anchors in prose get the WCAG 2.5.8 inline exception and are reported as tapTargetInlineText - refreshed baseline: 0 violations, 573 marginal, 6 inline, 1 hidden
This commit is contained in:
parent
9c3870cf79
commit
5765492494
3 changed files with 433 additions and 1034 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,46 +1,29 @@
|
|||
# Mobile audit (390x844) - 2026-10-13T00:15:39.125Z
|
||||
# Mobile audit (390x844) - 2026-10-13T01:48:07.309Z
|
||||
|
||||
Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
||||
Base: http://localhost:3000 | routes audited: 78 (ok: 68)
|
||||
|
||||
| Pattern class | Routes affected | Findings |
|
||||
|---|---|---|
|
||||
| tapTargetMarginal | 67 | 516 |
|
||||
| tapTarget | 42 | 159 |
|
||||
| tapTargetMarginal | 68 | 573 |
|
||||
| hiddenMobile | 1 | 1 |
|
||||
| tapTargetInlineText | 1 | 6 |
|
||||
|
||||
## tapTargetMarginal: pattern clusters
|
||||
|
||||
| Selector shape | Findings | Routes | Example |
|
||||
|---|---|---|---|
|
||||
| `button.inline-flex.items-center.justify-center` | 347 | 67 | 28x28px "Toggle Sidebar" |
|
||||
| `button.inline-flex.items-center.justify-center` | 326 | 68 | 28x28px "Toggle Sidebar" |
|
||||
| `a.flex.w-fit.items-center` | 10 | 10 | 42x28px "Wiki" |
|
||||
| `input.flex.h-9.w-full` | 15 | 9 | 300x36px |
|
||||
| `a.inline-flex.items-center.justify-center` | 7 | 6 | 111x32px "Design a ribbon" |
|
||||
| `button.rounded-md.px-2.5.py-1` | 12 | 6 | 82x24px "This period" |
|
||||
| `a.ml-auto.py-1.pr-1` | 6 | 6 | 60x24px "All boards" |
|
||||
| `button.flex.h-9.items-center` | 8 | 4 | 160x36px "All rarities" |
|
||||
| `a.py-1.text-sm.text-muted-foreground` | 4 | 4 | 50x28px "Back" |
|
||||
| `button.flex.items-center.justify-between` | 6 | 3 | 176x32px "All targets" |
|
||||
| `label.text-sm.font-medium.leading-none` | 3 | 2 | 33x26px (via label[for]) |
|
||||
| `label.peer-disabled:cursor-not-allowed.peer-disabled:opacity` | 27 | 2 | 226x24px (via label) "Mute market offers" |
|
||||
| `button.items-center.justify-center.whitespace-nowrap` | 2 | 2 | 316x30px "Award this" |
|
||||
| `input.flex.h-9.rounded-md` | 3 | 2 | 144x36px "From date" |
|
||||
| `button.flex.h-9.w-full` | 3 | 2 | 350x36px "Meta" |
|
||||
| `a.group.flex.items-center` | 1 | 1 | 316x38px "DO_NOT_USE's AccountPersonal a" |
|
||||
| `button.text-[11px].px-2.py-0.5` | 1 | 1 | 82x38px "+ Add Stripe" |
|
||||
| `input.size-7.rounded.cursor-pointer` | 1 | 1 | 28x28px |
|
||||
|
||||
## tapTarget: pattern clusters
|
||||
|
||||
| Selector shape | Findings | Routes | Example |
|
||||
|---|---|---|---|
|
||||
| `button.inline-flex.items-center.justify-center` | 14 | 14 | 155x16px "Skip all tours on this device" |
|
||||
| `a.flex.w-fit.items-center` | 10 | 10 | 42x20px "Wiki" |
|
||||
| `a.ml-auto.pr-1.text-xs` | 6 | 6 | 60x16px "All boards" |
|
||||
| `button.peer.group/switch.inline-flex` | 61 | 4 | 32x18px "Show callsign instead of displ" |
|
||||
| `button.aspect-square.size-4.shrink-0` | 8 | 3 | 16x16px |
|
||||
| `a.text-sm.text-muted-foreground.hover:text-primary` | 3 | 3 | 50x20px "Back" |
|
||||
| `button.grid.place-content-center.peer` | 3 | 2 | 16x16px |
|
||||
| `a.text-sm.font-medium.after:absolute` | 16 | 2 | 91x18px "Edward Finch" |
|
||||
| `a.shrink-0.text-xs.text-muted-foreground` | 2 | 1 | 90x16px "View full record" |
|
||||
| `a.text-xs.text-muted-foreground.transition-colors` | 2 | 1 | 45x16px "Banking" |
|
||||
| `a.text-xs.text-muted-foreground.hover:text-primary` | 1 | 1 | 44x16px "View all" |
|
||||
| `input.flex-1.h-1.accent-zinc-400` | 1 | 1 | 148x4px |
|
||||
|
||||
## hiddenMobile: pattern clusters
|
||||
|
||||
|
|
@ -48,6 +31,12 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
|---|---|---|---|
|
||||
| `span.hidden.font-mono.text-[10px]` | 1 | 1 | hidden on mobile (md:/lg: reveal) |
|
||||
|
||||
## tapTargetInlineText: pattern clusters
|
||||
|
||||
| Selector shape | Findings | Routes | Example |
|
||||
|---|---|---|---|
|
||||
| `a.font-medium.text-primary.underline` | 6 | 1 | 61x19px "The Map" |
|
||||
|
||||
---
|
||||
|
||||
# Per-route detail
|
||||
|
|
@ -61,8 +50,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 50x32px "Next" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 112x32px "Customize" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 316x38px "DO_NOT_USE's AccountPersonal a" `div.flex.min-w-0.flex-1 > a.group.flex.items-center`
|
||||
- ...and 5 more
|
||||
|
||||
### /account
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -73,7 +63,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 300x36px `div.flex.flex-col.gap-2 > input#currentPassword.flex.h-9.w-full`
|
||||
- 300x36px `div.flex.flex-col.gap-2 > input#newPassword.flex.h-9.w-full`
|
||||
- 300x36px `div.flex.flex-col.gap-2 > input#confirmPassword.flex.h-9.w-full`
|
||||
- ...and 4 more
|
||||
- ...and 32 more
|
||||
|
||||
### /awards
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -82,24 +72,24 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 50x32px "Next" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 111x32px "Design a ribbon" `div.flex.flex-wrap.items-center > a.inline-flex.items-center.justify-center`
|
||||
- 316x30px "Award this" `div.relative.z-10.mt-auto > button.items-center.justify-center.whitespace-nowrap`
|
||||
- ...and 1 more
|
||||
|
||||
### /awards/design
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 300x36px `div.flex.flex-col.gap-1.5 > input#ribbon-name.flex.h-9.w-full`
|
||||
- 246x26px (via label[for]) `div.flex.flex-col.gap-1 > label.text-sm.font-medium.leading-none`
|
||||
- 82x38px "+ Add Stripe" `div.flex.items-center.justify-between > button.text-[11px].px-2.py-0.5`
|
||||
- 28x28px `div.flex.flex-wrap.items-center > input.size-7.rounded.cursor-pointer`
|
||||
- 48x28px "\u00D7" `div.flex.flex-wrap.items-center > button.py-1.text-zinc-500.hover:text-red-400`
|
||||
- 149x36px "Submit for review" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /awards/review
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Replay page tour" `div.ml-auto.flex.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 50x32px "Next" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 111x32px "Design a ribbon" `div.flex.flex-wrap.items-center > a.inline-flex.items-center.justify-center`
|
||||
- 316x30px "Award this" `div.relative.z-10.mt-auto > button.items-center.justify-center.whitespace-nowrap`
|
||||
|
||||
|
|
@ -111,12 +101,12 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Replay page tour" `div.ml-auto.flex.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 320x36px `div.relative.w-full.max-w-xs > input.flex.h-9.w-full`
|
||||
- 53x32px "Type" `div.flex.flex-wrap.items-center > button#radix-_R_2d5esnf939etb_.inline-flex.items-center.justify-center`
|
||||
- ...and 8 more
|
||||
- 176x32px "All targets" `div.flex.flex-wrap.items-center > button.flex.items-center.justify-between`
|
||||
- 144x32px `div.flex.flex-wrap.items-center > button.flex.items-center.justify-between`
|
||||
- 144x36px "From date" `div.flex.items-center.gap-1 > input.flex.h-9.rounded-md`
|
||||
- ...and 5 more
|
||||
|
||||
### /helpdesk
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -127,7 +117,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 107x28px "Resolved2" `div.inline-flex.items-center.overflow-x-auto > button#radix-_R_1l5esnf939etb_-trigger-resolved.inline-flex.items-center.justify-center`
|
||||
- 89x28px "Closed1" `div.inline-flex.items-center.overflow-x-auto > button#radix-_R_1l5esnf939etb_-trigger-closed.inline-flex.items-center.justify-center`
|
||||
- 125x28px "Unassigned5" `div.inline-flex.items-center.overflow-x-auto > button#radix-_R_1l5esnf939etb_-trigger-unassigned.inline-flex.items-center.justify-center`
|
||||
- ...and 4 more
|
||||
- ...and 17 more
|
||||
|
||||
### /intelligence
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -137,6 +127,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 148x32px "Create campaign" `div.flex.flex-col.gap-1 > button.inline-flex.items-center.justify-center`
|
||||
- 117x32px (via label[for]) "Show completed campaigns" `div.flex.items-center.justify-end > label.cursor-pointer.select-none.px-1`
|
||||
|
||||
### /intelligence/factions
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -160,6 +151,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 103x32px "Schedule" `div.flex.min-w-0.basis-full > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /journals
|
||||
|
|
@ -174,9 +166,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 114x38px "WARDROBE" `div.inline-flex.max-w-full.items-center > button#radix-_R_55esnf939etb_-trigger-wardrobe.inline-flex.items-center.justify-center`
|
||||
- 110x38px "INVENTORY" `div.inline-flex.max-w-full.items-center > button#radix-_R_55esnf939etb_-trigger-inventory.inline-flex.items-center.justify-center`
|
||||
- ...and 8 more
|
||||
- ...and 9 more
|
||||
|
||||
### /logistics
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -185,9 +177,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 73x26px "Logistics" `div.flex.items-center.gap-1.5 > button.text-xs.px-2.5.py-1`
|
||||
- 65x26px "Military" `div.flex.items-center.gap-1.5 > button.text-xs.px-2.5.py-1`
|
||||
- ...and 1 more
|
||||
- ...and 2 more
|
||||
|
||||
### /logistics/banking
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -210,9 +202,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 264x36px `div.relative > input.flex.h-9.w-full`
|
||||
- 160x36px "All rarities" `div.flex.flex-col.gap-1.5 > button.flex.h-9.items-center`
|
||||
- ...and 2 more
|
||||
- ...and 3 more
|
||||
|
||||
### /logistics/resources
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -225,9 +217,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 50x32px "Next" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 38x28px "All" `div.flex.flex-wrap.gap-1.5 > button.inline-flex.items-center.justify-center`
|
||||
- 63x28px "Active" `div.flex.flex-wrap.gap-1.5 > button.inline-flex.items-center.justify-center`
|
||||
- ...and 3 more
|
||||
- ...and 4 more
|
||||
|
||||
### /logistics/supply-boxes
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -247,9 +239,6 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Replay page tour" `div.ml-auto.flex.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 50x32px "Next" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /notifications
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -259,17 +248,11 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Replay page tour" `div.ml-auto.flex.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /operations/ledger
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Replay page tour" `div.ml-auto.flex.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /operations/reservations
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -283,6 +266,8 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 264x36px "Search contacts by name or occ" `div.relative > input#npc-search.flex.h-9.rounded-md`
|
||||
- 86x32px (via label[for]) `div.flex.items-center.gap-2 > label.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70.cursor-pointer`
|
||||
- 83x32px (via label[for]) `div.flex.items-center.gap-2 > label.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70.cursor-pointer`
|
||||
|
||||
### /personnel/promotions
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -312,9 +297,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 115x38px "Org Chart" `div.inline-flex.max-w-full.items-center > button#radix-_R_55esnf939etb_-trigger-org.inline-flex.items-center.justify-center`
|
||||
- 151x38px "By Assignment" `div.inline-flex.max-w-full.items-center > button#radix-_R_55esnf939etb_-trigger-assignment.inline-flex.items-center.justify-center`
|
||||
- ...and 3 more
|
||||
- ...and 4 more
|
||||
|
||||
### /story
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -338,7 +323,9 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /voiceover
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 109x24px "Kestrel: Arrival" `div.font-semibold.leading-none.tracking-tight > a.inline-block.rounded-sm.py-1`
|
||||
- 300x36px "Record a take" `div.p-6.pt-0.flex > a.inline-flex.items-center.justify-center`
|
||||
- 110x24px "Practice Script" `div.font-semibold.leading-none.tracking-tight > a.inline-block.rounded-sm.py-1`
|
||||
|
||||
### /wiki
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -347,20 +334,20 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 24x24px "Close tour" `div.mb-2.flex.items-start > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Skip" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 53x32px "Done" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 155x24px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 350x36px "Search wiki pages" `div.relative.min-w-56.flex-1 > input.flex.h-9.w-full`
|
||||
- 160x36px "All categories" `div.flex.flex-wrap.items-center > button.flex.h-9.items-center`
|
||||
- ...and 8 more
|
||||
- ...and 12 more
|
||||
|
||||
### /wiki/new
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 42x28px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 350x36px `div.flex.flex-col.gap-1.5 > input#wiki-title.flex.h-9.w-full`
|
||||
- 350x36px "Meta" `div.flex.flex-col.gap-1.5 > button#wiki-category.flex.h-9.w-full`
|
||||
- 350x36px `div.flex.flex-col.gap-1.5 > input#wiki-tags.flex.h-9.w-full`
|
||||
- 350x36px `div.flex.flex-col.gap-1.5 > input#wiki-summary.flex.h-9.w-full`
|
||||
- 127x32px "Insert wikilink" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 32x32px "Bold" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- ...and 22 more
|
||||
- ...and 24 more
|
||||
|
||||
### /minigames/blackjack
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -378,7 +365,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 32x32px "+50" `div.flex.items-center.gap-1 > button.inline-flex.items-center.justify-center`
|
||||
- 218x32px `div.flex.items-center.gap-1 > input#cff-deflection.flex.w-full.rounded-md`
|
||||
- 290x36px "Fire mission" `form.flex.flex-col.gap-3 > button.inline-flex.items-center.justify-center`
|
||||
- ...and 3 more
|
||||
- ...and 4 more
|
||||
|
||||
### /minigames/call-for-fire-versus
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -395,7 +382,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 26x26px "row 1 col 4 hidden" `div.grid.min-w-max.grid-cols-[repeat(var(--board-cols),var(--cell-size))] > button.flex.size-[var(--cell-size)].items-center`
|
||||
- 26x26px "row 1 col 5 hidden" `div.grid.min-w-max.grid-cols-[repeat(var(--board-cols),var(--cell-size))] > button.flex.size-[var(--cell-size)].items-center`
|
||||
- 26x26px "row 1 col 6 hidden" `div.grid.min-w-max.grid-cols-[repeat(var(--board-cols),var(--cell-size))] > button.flex.size-[var(--cell-size)].items-center`
|
||||
- ...and 87 more
|
||||
- ...and 88 more
|
||||
|
||||
### /minigames/eod/custom
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -406,23 +393,19 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 82x24px "This period" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 67x24px "All-Time" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 60x24px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.py-1.pr-1`
|
||||
|
||||
### /minigames/leaderboards
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 350x36px "Current period · Oct 12 to Oct" `div.flex.flex-wrap.items-center > button.flex.h-9.items-center`
|
||||
- 149x28px "Flight Simulator" `div.max-w-full.items-center.overflow-x-auto > button#radix-_r_8_-trigger-flappy.inline-flex.items-center.justify-center`
|
||||
- 176x28px "Minefield Clearance" `div.max-w-full.items-center.overflow-x-auto > button#radix-_r_8_-trigger-eod.inline-flex.items-center.justify-center`
|
||||
- 128x28px "Radio Traffic" `div.max-w-full.items-center.overflow-x-auto > button#radix-_r_8_-trigger-radio.inline-flex.items-center.justify-center`
|
||||
- 177x28px "Qualification Course" `div.max-w-full.items-center.overflow-x-auto > button#radix-_r_8_-trigger-qualification.inline-flex.items-center.justify-center`
|
||||
- 140x28px "OPORD Recall" `div.max-w-full.items-center.overflow-x-auto > button#radix-_r_8_-trigger-opord.inline-flex.items-center.justify-center`
|
||||
- ...and 1 more
|
||||
- 350x36px `div.flex.flex-wrap.items-center > button.flex.h-9.items-center`
|
||||
|
||||
### /minigames/opord
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 82x24px "This period" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 67x24px "All-Time" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 60x24px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.py-1.pr-1`
|
||||
|
||||
### /minigames/poker
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -438,17 +421,18 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
- 181x36px "Begin Qualification" `div.absolute.inset-0.flex > button.inline-flex.items-center.justify-center`
|
||||
- 82x24px "This period" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 67x24px "All-Time" `div.flex.items-center.gap-1 > button.rounded-md.px-2.5.py-1`
|
||||
- 60x24px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.py-1.pr-1`
|
||||
|
||||
### /minigames/radio
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 147x24px (via label[for]) `div.mt-3.flex.items-center > label.flex.min-h-6.cursor-pointer`
|
||||
- 154x32px "Sprint · 10 messages" `div.mt-3.grid.grid-cols-2 > button.inline-flex.items-center.justify-center`
|
||||
- 154x32px "Watch · 60 seconds" `div.mt-3.grid.grid-cols-2 > button.inline-flex.items-center.justify-center`
|
||||
- 130x36px "Start intercept" `div.flex.flex-col.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 77x24px "Top Score" `div#radio-traffic-leaderboard-tabs.max-w-full.items-center.justify-center > button#radix-_R_16qatpesnf939etb_-trigger-score.inline-flex.items-center.justify-center`
|
||||
- 77x24px "Top Accuracy" `div#radio-traffic-leaderboard-tabs.max-w-full.items-center.justify-center > button#radix-_R_16qatpesnf939etb_-trigger-accuracy.inline-flex.items-center.justify-center`
|
||||
- 77x24px "Most Correct" `div#radio-traffic-leaderboard-tabs.max-w-full.items-center.justify-center > button#radix-_R_16qatpesnf939etb_-trigger-messages.inline-flex.items-center.justify-center`
|
||||
- ...and 3 more
|
||||
- ...and 5 more
|
||||
|
||||
### /minigames/radio/custom
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -457,22 +441,25 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /helpdesk/17
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 77x28px "Helpdesk" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 58x32px "0upvotes" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 252x36px "In Review" `div.flex.gap-2 > button#ticket-status.flex.h-9.w-full`
|
||||
- 56x32px "Apply" `div.flex.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 252x36px "J. Fraley (jason)" `div.flex.gap-2 > button#ticket-assignee.flex.h-9.w-full`
|
||||
- 134x32px "Archive ticket" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 125x36px "Reply as staff" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- ...and 1 more
|
||||
|
||||
### /journals/1
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 94x28px "All journals" `div.mx-auto.max-w-3xl.px-4 > a.inline-flex.items-center.gap-1.5`
|
||||
- 80x32px "Edit" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 95x32px "Delete" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /profile/dev
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 50x28px "Back" `div.p-5.flex.flex-col > a.py-1.text-sm.text-muted-foreground`
|
||||
- 70x32px "Edit" `div.flex.min-w-0.basis-full > button.inline-flex.items-center.justify-center`
|
||||
- 122x32px "Grant Award" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 159x32px "Request promotion" `div.flex.items-center.justify-between > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -480,36 +467,33 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /intelligence/factions/3
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_r_20_.inline-flex.items-center.justify-center`
|
||||
- 126x28px "Back to Factions" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
- 165x28px "Batch 41-7 (POLARIS)" `div.flex.items-center.justify-between > a.flex.items-center.gap-2`
|
||||
|
||||
### /intelligence/campaigns/4
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 143x28px "Back to Campaigns" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
- 316x34px "ConceptIn ProgressOn HoldCompl" `div.flex.min-w-0.flex-1 > select.w-full.rounded-md.border`
|
||||
|
||||
### /intelligence/missions/11
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 126x28px "Back to Missions" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
|
||||
### /voiceover/2
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 340x36px "Go back" `div.flex.flex-col-reverse.sm:flex-row > button.inline-flex.items-center.justify-center`
|
||||
- 340x36px "I understand" `div.flex.flex-col-reverse.sm:flex-row > button.inline-flex.items-center.justify-center`
|
||||
- 127x28px "Voiceover scripts" `div.flex.min-w-0.flex-col > a.flex.w-fit.items-center`
|
||||
|
||||
### /map/6
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 30x30px "+" `div.leaflet-control-zoom.leaflet-bar.leaflet-control > a.leaflet-control-zoom-in`
|
||||
- 30x30px "−" `div.leaflet-control-zoom.leaflet-bar.leaflet-control > a.leaflet-control-zoom-out`
|
||||
- 82x32px "Structures" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 56x32px "Nodes" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 55x32px "Roads" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- 54x32px "Zones" `div.flex.flex-wrap.items-center > button.inline-flex.items-center.justify-center`
|
||||
- ...and 5 more
|
||||
|
||||
### /logistics/structures/1
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 138x28px "Back to Structures" `header.relative.flex.flex-col > a.relative.z-10.py-1`
|
||||
- 102x32px "Manage" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 48x32px "Fire" `div.flex.items-center.gap-3 > button.inline-flex.items-center.justify-center`
|
||||
- 132x32px "Auto-Arrange" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -519,6 +503,7 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /logistics/banking/30
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_r_20_.inline-flex.items-center.justify-center`
|
||||
- 123x28px "Back to Banking" `div.flex.flex-col.gap-6 > a.py-1.text-sm.text-muted-foreground`
|
||||
- 101x32px "Deposit" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 111x32px "Withdraw" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
- 111x32px "Transfer" `div.flex.items-center.gap-2 > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -526,10 +511,17 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /logistics/resources/89
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 138x28px "Back to Resources" `div.p-5.flex.flex-col > a.py-1.text-sm.text-muted-foreground`
|
||||
|
||||
### /logistics/vehicles/1902
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 125x28px "Back to Vehicles" `div.p-5.flex.flex-col > a.py-1.text-sm.text-muted-foreground`
|
||||
|
||||
### /wiki/welcome-to-the-unit
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 42x28px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 72x32px "Edit" `div.flex.flex-wrap.justify-end > a.inline-flex.items-center.justify-center`
|
||||
- 92x32px "History" `div.flex.flex-wrap.justify-end > a.inline-flex.items-center.justify-center`
|
||||
- 78x32px "Lock" `div.flex.flex-wrap.justify-end > button.inline-flex.items-center.justify-center`
|
||||
|
|
@ -538,207 +530,34 @@ Base: http://localhost:3000 | routes audited: 78 (ok: 67)
|
|||
### /wiki/welcome-to-the-unit/history
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 103x28px "Back to page" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
|
||||
### /wiki/welcome-to-the-unit/edit
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 103x28px "Back to page" `div.flex.flex-col.gap-6 > a.flex.w-fit.items-center`
|
||||
|
||||
### /wiki/category/Documentation
|
||||
- 28x28px "Toggle Sidebar" `header.flex.h-16.shrink-0 > button.inline-flex.items-center.justify-center`
|
||||
- 36x36px "No unread notifications" `div.ml-auto.flex.items-center > button#radix-_R_2gp39etb_.inline-flex.items-center.justify-center`
|
||||
- 42x28px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 117x26px "documentation7" `div.flex.flex-wrap.gap-1.5 > a.inline-flex.items-center.gap-1.5`
|
||||
- 89x38px "documentation" `div.flex.shrink-0.flex-wrap > a.relative.z-10.rounded-sm`
|
||||
|
||||
|
||||
## tapTarget
|
||||
|
||||
### /
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 90x16px "View full record" `div.flex.items-center.justify-between > a.shrink-0.text-xs.text-muted-foreground`
|
||||
- 44x16px "View all" `div.flex.items-center.justify-between > a.shrink-0.text-xs.text-muted-foreground`
|
||||
- 45x16px "Banking" `div.flex.min-w-0.basis-full > a.text-xs.text-muted-foreground.transition-colors`
|
||||
- 44x16px "View all" `div.flex.min-w-0.basis-full > a.text-xs.text-muted-foreground.transition-colors`
|
||||
- 44x16px "View all" `div.flex.min-w-0.basis-full > a.text-xs.text-muted-foreground.hover:text-primary`
|
||||
|
||||
### /account
|
||||
- 32x18px "Show callsign instead of displ" `label.font-medium.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70 > button#showCallsign.peer.group/switch.inline-flex`
|
||||
- 32x18px "Use mini mode for XP display" `label.font-medium.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70 > button#xpDisplayMini.peer.group/switch.inline-flex`
|
||||
- 32x18px "Show diagonal background textu" `label.font-medium.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70 > button#showBackgroundTexture.peer.group/switch.inline-flex`
|
||||
- 16x16px `div.flex.items-center.gap-2 > button#leadOrActual-lead.aspect-square.size-4.shrink-0`
|
||||
- 16x16px `div.flex.items-center.gap-2 > button#leadOrActual-actual.aspect-square.size-4.shrink-0`
|
||||
- 32x18px "Mute all in-app notifications" `label.font-medium.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70 > button#mutedAll.peer.group/switch.inline-flex`
|
||||
- 32x18px "Mute market offers" `label.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70.flex > button#notification-market-offer.peer.group/switch.inline-flex`
|
||||
- 32x18px "Mute counteroffers" `label.peer-disabled:cursor-not-allowed.peer-disabled:opacity-70.flex > button#notification-market-counter.peer.group/switch.inline-flex`
|
||||
- ...and 52 more
|
||||
|
||||
### /awards
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /awards/design
|
||||
- 16x16px `div.flex.items-start.gap-3 > button#ribbon-mirrored.grid.place-content-center.peer`
|
||||
- 148x4px `div.flex.items-center.gap-1.5 > input.flex-1.h-1.accent-zinc-400`
|
||||
- 48x20px "\u00D7" `div.flex.flex-wrap.items-center > button.text-zinc-500.hover:text-red-400.text-sm`
|
||||
|
||||
### /awards/review
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /events
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /helpdesk
|
||||
- 59x21px "tutorial" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 224x21px "New basic games for the app" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 179x21px "Player to Player trades" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 294x21px "Chronicles chapter order consi" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 256x21px "in game comand held desk/ page" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 300x21px "Tradeable items not sellable o" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 152x21px "Upvotes for Tickets" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- 197x21px "Editable helpdesk tickets" `div.w-fit.items-center.gap-2 > a.hover:underline`
|
||||
- ...and 5 more
|
||||
|
||||
### /intelligence/campaigns
|
||||
- 32x18px "Show completed campaigns" `div.flex.items-center.justify-end > button#show-completed-campaigns.peer.group/switch.inline-flex`
|
||||
|
||||
### /intelligence/missions/calendar
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /locker
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /logistics
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /logistics/market
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /logistics/shipments
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /map
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /operations
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /operations/ledger
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /personnel/contacts
|
||||
- 16x16px `div.flex.items-center.gap-2 > button#npc-in-game-only.grid.place-content-center.peer`
|
||||
- 16x16px `div.flex.items-center.gap-2 > button#npc-vendors-only.grid.place-content-center.peer`
|
||||
|
||||
### /roster
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
|
||||
### /story
|
||||
- 128x4px "Seek narration: What Makes Us " `div.flex.items-center.gap-2.5 > input.h-1.w-32.cursor-pointer`
|
||||
- 128x4px "Seek narration: Little Green L" `div.flex.items-center.gap-2.5 > input.h-1.w-32.cursor-pointer`
|
||||
|
||||
### /voiceover
|
||||
- 109x21px "Kestrel: Arrival" `div.font-semibold.leading-none.tracking-tight > a.rounded-sm.outline-none.transition-colors`
|
||||
- 110x21px "Practice Script" `div.font-semibold.leading-none.tracking-tight > a.rounded-sm.outline-none.transition-colors`
|
||||
|
||||
### /wiki
|
||||
- 155x16px "Skip all tours on this device" `div.mt-2.border-t.border-border/60 > button.inline-flex.items-center.justify-center`
|
||||
- 105x16px "Characters" `h2.group/cat.flex.items-baseline > a.inline-flex.items-center.gap-1`
|
||||
- 91x18px "Edward Finch" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 51x16px "Meta" `h2.group/cat.flex.items-baseline > a.inline-flex.items-center.gap-1`
|
||||
- 139x18px "Example Wiki Article" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 128x16px "Documentation" `h2.group/cat.flex.items-baseline > a.inline-flex.items-center.gap-1`
|
||||
- 56x18px "The Map" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 133x18px "Welcome to the Unit" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- ...and 5 more
|
||||
|
||||
### /wiki/new
|
||||
- 42x20px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 1x1px "CampaignWorldLoreCharactersPlo" `div.flex.flex-col.gap-1.5 > select`
|
||||
- 16x16px "Close" `div#radix-_R_3aatpesnf939etb_.fixed.left-[50%].top-[50%] > button.absolute.right-4.top-4`
|
||||
|
||||
### /minigames/call-for-fire
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /minigames/eod
|
||||
- 32x18px "Use high-contrast cell colors" `label.flex.items-center.justify-between > button.peer.group/switch.inline-flex`
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /minigames/flappy
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /minigames/opord
|
||||
- 16x16px "Recruit briefing tier" `label.flex.cursor-pointer.items-start > button#opord-tier-recruit.aspect-square.size-4.shrink-0`
|
||||
- 16x16px "Veteran briefing tier" `label.flex.cursor-pointer.items-start > button#opord-tier-veteran.aspect-square.size-4.shrink-0`
|
||||
- 16x16px "Elite briefing tier" `label.flex.cursor-pointer.items-start > button#opord-tier-elite.aspect-square.size-4.shrink-0`
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /minigames/qualification
|
||||
- 16x16px "Recruit qualification lane" `label.flex.cursor-pointer.items-start > button#qualification-tier-recruit.aspect-square.size-4.shrink-0`
|
||||
- 16x16px "Veteran qualification lane" `label.flex.cursor-pointer.items-start > button#qualification-tier-veteran.aspect-square.size-4.shrink-0`
|
||||
- 16x16px "Elite qualification lane" `label.flex.cursor-pointer.items-start > button#qualification-tier-elite.aspect-square.size-4.shrink-0`
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /minigames/radio
|
||||
- 32x18px `div.mt-3.flex.items-center > button#radio-tick-sound.peer.group/switch.inline-flex`
|
||||
- 60x16px "All boards" `div.flex.items-center.gap-1 > a.ml-auto.pr-1.text-xs`
|
||||
|
||||
### /helpdesk/17
|
||||
- 77x20px "Helpdesk" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
|
||||
### /journals/1
|
||||
- 94x20px "All journals" `div.mx-auto.max-w-3xl.px-4 > a.inline-flex.items-center.gap-1.5`
|
||||
|
||||
### /profile/dev
|
||||
- 50x20px "Back" `div.p-5.flex.flex-col > a.text-sm.text-muted-foreground.hover:text-primary`
|
||||
|
||||
### /intelligence/factions/3
|
||||
- 126x20px "Back to Factions" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
- 165x20px "Batch 41-7 (POLARIS)" `div.flex.items-center.justify-between > a.flex.items-center.gap-2`
|
||||
|
||||
### /intelligence/campaigns/4
|
||||
- 143x20px "Back to Campaigns" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
|
||||
### /intelligence/missions/11
|
||||
- 126x20px "Back to Missions" `div.absolute.top-0.left-0 > a.flex.w-fit.items-center`
|
||||
|
||||
### /voiceover/2
|
||||
- 127x20px "Voiceover scripts" `div.flex.min-w-0.flex-col > a.flex.w-fit.items-center`
|
||||
|
||||
### /logistics/structures/1
|
||||
- 138x20px "Back to Structures" `header.relative.flex.flex-col > a.relative.z-10.text-sm`
|
||||
|
||||
### /logistics/banking/30
|
||||
- 123x20px "Back to Banking" `div.flex.flex-col.gap-6 > a.text-sm.text-muted-foreground.hover:text-primary`
|
||||
|
||||
### /logistics/resources/89
|
||||
- 138x20px "Back to Resources" `div.p-5.flex.flex-col > a.text-sm.text-muted-foreground.hover:text-primary`
|
||||
|
||||
### /wiki/welcome-to-the-unit
|
||||
- 42x20px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 61x19px "The Map" `li > a.font-medium.text-primary.underline`
|
||||
- 76x19px "Shipments" `li > a.font-medium.text-primary.underline`
|
||||
- 198x19px "Logistics and Storage Rules" `li > a.font-medium.text-primary.underline`
|
||||
- 131x19px "Base Management" `li > a.font-medium.text-primary.underline`
|
||||
- 57x19px "Banking" `li > a.font-medium.text-primary.underline`
|
||||
- 167x19px "Market and Negotiation" `li > a.font-medium.text-primary.underline`
|
||||
|
||||
### /wiki/welcome-to-the-unit/history
|
||||
- 103x20px "Back to page" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
|
||||
### /wiki/welcome-to-the-unit/edit
|
||||
- 103x20px "Back to page" `div.flex.flex-col.gap-6 > a.flex.w-fit.items-center`
|
||||
|
||||
### /wiki/category/Documentation
|
||||
- 42x20px "Wiki" `div.flex.flex-col.gap-3 > a.flex.w-fit.items-center`
|
||||
- 56x18px "The Map" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 133x18px "Welcome to the Unit" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 71x18px "Shipments" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 157x18px "Market and Negotiation" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 188x18px "Logistics and Storage Rules" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 123x18px "Base Management" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
- 55x18px "Banking" `div.min-w-0 > a.text-sm.font-medium.after:absolute`
|
||||
|
||||
|
||||
## hiddenMobile
|
||||
|
||||
### /locker
|
||||
- hidden on mobile (md:/lg: reveal) `div.flex.shrink-0.items-center > span.hidden.font-mono.text-[10px]`
|
||||
|
||||
|
||||
## tapTargetInlineText
|
||||
|
||||
### /wiki/welcome-to-the-unit
|
||||
- 61x19px "The Map" `li > a.font-medium.text-primary.underline`
|
||||
- 76x19px "Shipments" `li > a.font-medium.text-primary.underline`
|
||||
- 198x19px "Logistics and Storage Rules" `li > a.font-medium.text-primary.underline`
|
||||
- 131x19px "Base Management" `li > a.font-medium.text-primary.underline`
|
||||
- 57x19px "Banking" `li > a.font-medium.text-primary.underline`
|
||||
- 167x19px "Market and Negotiation" `li > a.font-medium.text-primary.underline`
|
||||
|
||||
|
|
|
|||
|
|
@ -216,22 +216,82 @@ async function collectIssues(): Promise<Issue[]> {
|
|||
}
|
||||
|
||||
// 6. Tap targets: WCAG 2.5.8 floor is 24px; 24-39px is a marginal tier for
|
||||
// review (shadcn defaults live there). Labels are excluded - their
|
||||
// associated control is the actual tap target.
|
||||
const interactive = 'a,button,[role="button"],[role="tab"],input:not([type="hidden"]),select';
|
||||
// review (shadcn defaults live there). The measured box is the EFFECTIVE
|
||||
// target: a control wrapped in (or labelled by) a <label> is tapped via that
|
||||
// label, and visually-hidden inputs (1x1 sr-only selects) are driven by a
|
||||
// styled trigger, so neither counts. Range inputs are excluded: the thumb is
|
||||
// the target and the element box is only the track.
|
||||
const interactive = 'a,button,[role="button"],[role="tab"],input:not([type="hidden"]):not([type="range"]),select';
|
||||
const effectiveTarget = (el: Element): { box: Element; via: string } => {
|
||||
const wrapping = el.closest("label");
|
||||
if (wrapping) return { box: wrapping, via: "label" };
|
||||
// label[for] is the target only for small checkable controls, where the
|
||||
// label is the intended tap surface. For selects/inputs/large buttons the
|
||||
// control itself is the target; its 14px caption label is not charged.
|
||||
const tag = el.tagName.toLowerCase();
|
||||
const type = (el.getAttribute("type") || "").toLowerCase();
|
||||
const role = el.getAttribute("role") || "";
|
||||
const smallCheckable =
|
||||
(tag === "input" && (type === "checkbox" || type === "radio")) ||
|
||||
role === "switch" ||
|
||||
role === "checkbox" ||
|
||||
role === "radio";
|
||||
const id = el.getAttribute("id");
|
||||
if (id && smallCheckable) {
|
||||
const forLabel = document.querySelector(`label[for="${CSS.escape(id)}"]`);
|
||||
if (forLabel) return { box: forLabel, via: "label[for]" };
|
||||
}
|
||||
return { box: el, via: "" };
|
||||
};
|
||||
// A "stretched link" (a.after:absolute inset-0) makes the whole card the
|
||||
// target; the anchor box is only the text. Charge the positioned ancestor.
|
||||
const stretchedCard = (el: Element): Element | null => {
|
||||
if (el.tagName.toLowerCase() !== "a") return null;
|
||||
const after = getComputedStyle(el, "::after");
|
||||
if (after.position !== "absolute") return null;
|
||||
if (!["top", "right", "bottom", "left"].every((s) => after.getPropertyValue(s) === "0px")) return null;
|
||||
let node = el.parentElement;
|
||||
while (node && node !== document.body) {
|
||||
const pos = getComputedStyle(node).position;
|
||||
if (pos === "relative" || pos === "absolute") return node;
|
||||
node = node.parentElement;
|
||||
}
|
||||
return null;
|
||||
};
|
||||
for (const el of Array.from(document.querySelectorAll(interactive))) {
|
||||
const rect = el.getBoundingClientRect();
|
||||
if (rect.width === 0 || rect.height === 0) continue;
|
||||
const own = el.getBoundingClientRect();
|
||||
if (own.width === 0 || own.height === 0) continue;
|
||||
const style = getComputedStyle(el);
|
||||
if (style.visibility === "hidden" || style.opacity === "0") continue;
|
||||
// Visually hidden control (sr-only clip, 1x1 proxy element): skip.
|
||||
if (own.width < 8 || own.height < 8) continue;
|
||||
const card = stretchedCard(el);
|
||||
const { box, via } = card ? { box: card, via: "card overlay" } : effectiveTarget(el);
|
||||
const rect = box.getBoundingClientRect();
|
||||
const minSide = Math.min(rect.width, rect.height);
|
||||
if (minSide >= 40) continue;
|
||||
const kind = minSide < 24 ? "tapTarget" : "tapTargetMarginal";
|
||||
// WCAG 2.5.8 exempts targets inline in a sentence: an inline anchor with
|
||||
// prose text beside it in the same block is sized by the surrounding
|
||||
// line-height. Standalone inline links (list rows, header links) do not
|
||||
// qualify and stay violations.
|
||||
const inlineInSentence = (() => {
|
||||
if (el.tagName.toLowerCase() !== "a") return false;
|
||||
if (getComputedStyle(el).display !== "inline") return false;
|
||||
// Inline links inside prose blocks (rendered content) are sized by the
|
||||
// surrounding line-height, which is the 2.5.8 inline exception.
|
||||
if (el.closest("p, li, td, th, blockquote, figcaption")) return true;
|
||||
const parent = el.parentElement;
|
||||
if (!parent) return false;
|
||||
return Array.from(parent.childNodes).some(
|
||||
(node) => node !== el && node.nodeType === 3 && (node.textContent ?? "").trim().length > 0,
|
||||
);
|
||||
})();
|
||||
const kind = inlineInSentence ? "tapTargetInlineText" : minSide < 24 ? "tapTarget" : "tapTargetMarginal";
|
||||
const label = (el.textContent || el.getAttribute("aria-label") || el.getAttribute("title") || "").trim().slice(0, 30);
|
||||
issues.push({
|
||||
kind,
|
||||
detail: `${Math.round(rect.width)}x${Math.round(rect.height)}px${label ? ` "${label}"` : ""}`,
|
||||
selector: path(el),
|
||||
detail: `${Math.round(rect.width)}x${Math.round(rect.height)}px${via ? ` (via ${via})` : ""}${label ? ` "${label}"` : ""}`,
|
||||
selector: path(box === el ? el : box),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue