pdf-accessibility/js
Vadym Samoilenko 148853c699 Add WCAG compliance summary, level badges, font names, next steps
enterprise_pdf_checker.py:
- WCAG_LEVELS dict maps all 2.1 criteria to A/AA/AAA
- AccessibilityIssue.to_dict() now includes wcag_level field
- _check_fonts() collects actual font names into details dict
  instead of just counting (details.non_embedded_fonts list)
- _generate_summary() adds wcag_compliance block:
    level_a / level_aa bool + failing criteria lists
- _generate_summary() adds next_steps: top 8 prioritised actions
  (Critical → Error → Warning, deduplicated by recommendation text)

js/results.js:
- displayWcagCompliance(): renders pass/fail badges for Level A/AA
- displayNextSteps(): numbered action list with priority badges
- createIssueCard(): shows wcag_level pill (A/AA/AAA) alongside
  WCAG criterion link

index.html:
- #wcagCompliance div between statsGrid and scoreBreakdown
- #nextStepsCard below remediationCard

css/styles.css:
- .wcag-badge, .wcag-compliance-row, .wcag-badge-level/status
- .wcag-level-badge + .wcag-level-A/AA/AAA colour variants
- .next-step-item, .next-step-num, .next-step-body/action/meta

report_generator.py:
- HTML report: WCAG conformance section + next steps table
  between score card and issues table
- PDF report: compliance banners + next steps table in sections_html

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 14:32:21 +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 Fix 13 WCAG accessibility violations in the checker UI itself 2026-03-13 14:19:20 +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 Add WCAG compliance summary, level badges, font names, next steps 2026-03-13 14:32:21 +00:00
upload.js Fix 13 WCAG accessibility violations in the checker UI itself 2026-03-13 14:19:20 +00:00
utils.js Fix 13 WCAG accessibility violations in the checker UI itself 2026-03-13 14:19:20 +00:00