Commit c5a1780
committed
Fix PageSpeed Insights findings: accessibility and SEO
Accessibility (76 → target higher):
- Add aria-label to fpsNum and tolNum number inputs (unlabelled form controls)
- Increase #placeholder-hint contrast from #666 to #777 on #0a0a0a background
- Change #canvas-wrap div to <main> to provide a document landmark
- Add visually-hidden skip navigation link for keyboard users
SEO (83 → target higher):
- Add <meta name="description"> tag
- Add src/robots.txt and copy it to dist/ during build to fix 46 parse errors
caused by the server returning HTML for the missing /robots.txt path
https://claude.ai/code/session_01NfhDN9zVd9SyCD7SLiKoSD1 parent 7aa8419 commit c5a1780
3 files changed
Lines changed: 29 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
176 | 196 | | |
177 | 197 | | |
178 | 198 | | |
| 199 | + | |
179 | 200 | | |
180 | 201 | | |
181 | 202 | | |
| |||
195 | 216 | | |
196 | 217 | | |
197 | 218 | | |
198 | | - | |
| 219 | + | |
199 | 220 | | |
200 | 221 | | |
201 | 222 | | |
202 | 223 | | |
203 | 224 | | |
204 | | - | |
| 225 | + | |
205 | 226 | | |
206 | 227 | | |
207 | 228 | | |
| |||
221 | 242 | | |
222 | 243 | | |
223 | 244 | | |
224 | | - | |
| 245 | + | |
225 | 246 | | |
226 | 247 | | |
227 | | - | |
| 248 | + | |
228 | 249 | | |
229 | 250 | | |
230 | | - | |
| 251 | + | |
231 | 252 | | |
232 | 253 | | |
233 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments