pdf-accessibility/js
Vadym Samoilenko a5cd1af982 Fix color contrast false positives; table caption INFO; dismiss button more visible
Color contrast:
- Sample pixels 8px apart vertically instead of adjacent horizontal pixels
- Filter out near-uniform pairs (|Δlum| < 0.08) — eliminates photo/gradient noise
- ERROR threshold: >60% of significant edges fail (was 15% of all pixels)
- WARNING threshold: >30% (was 5%)
- Returns early with 'image-only page' if <20 significant edges found

Tables:
- Caption warning downgraded WARNING → INFO (table may have visible title nearby)
- Does not count toward check pass/fail anymore

Dismiss button:
- Renamed 'Dismiss' → '✕ False Positive' (clearer intent)
- Added background color so it's visible against card
- font-size 11→12px, padding increased

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 19:15:28 +00:00
..
api.js Add Docker stack, frontend redesign, and visual page inspector fix 2026-02-25 18:12:44 +00:00
app.js Add Docker stack, frontend redesign, and visual page inspector fix 2026-02-25 18:12:44 +00:00
batch.js Switch to Oliver branding: Montserrat font, black/#FFC407 palette, fix dark mode contrast 2026-02-25 18:54:47 +00:00
page-viewer.js Fix pin-click navigation, cap image quality noise, drop Google Vision label spam 2026-03-12 18:56:41 +00:00
results.js Fix color contrast false positives; table caption INFO; dismiss button more visible 2026-03-12 19:15:28 +00:00
upload.js Fix progress bar stuck at 30% during Cloud Run synchronous processing 2026-03-12 18:19:46 +00:00
utils.js Add Docker stack, frontend redesign, and visual page inspector fix 2026-02-25 18:12:44 +00:00