Repository navigation
Commit 39817e9
Test check_validation_errors' required_count == 0 early return
A form with nothing marked required/aria-required has nothing for
native constraint validation to exercise, so this branch deliberately
Warns instead of claiming a false Pass — but nothing ever proved that
guard actually fires; it was unverified dead ground like the other
early-return branches closed in the last two commits.
Added fixtures/no-required-fields-form.html and a test asserting both
the Warn status and the specific "couldn't exercise validation"
message. Verified it was meaningful by temporarily disabling the
guard (`if false`) — the check still returned Warn by coincidence,
but with the wrong message, and the assertion caught it — before
restoring the real `if required_count == 0`.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 5f9a2c1 commit 39817e9
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
288 | 307 | | |
289 | 308 | | |
290 | 309 | | |
| |||
0 commit comments