Commit ad946ee
feat(web): adopt Gov.uk design patterns — typography + print button (#122)
Typography (Gov.uk accessibility research):
- Line-height: 1.7 → 1.5 (Gov.uk uses 1.32, legal docs typically 1.5)
- Mobile font: remove 16px override, keep 19px everywhere
(Gov.uk finding: smaller mobile fonts hurt accessibility)
Print button:
- Add "Print" button to section metadata bar
- Uses window.print() with existing print stylesheet
- Legal researchers routinely print statute sections
Based on Gov.uk Design System and legislation.gov.uk research.
Consensus approved 2-0.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d174bdc commit ad946ee
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 128 | | |
134 | 129 | | |
135 | 130 | | |
| |||
0 commit comments