Spaces:
Sleeping
Sleeping
Commit History
-
Add four accessibility checks/tools (now 14 tools)
ClaudeUnverified signature- check_slide_titles (pptx): reports slides with missing/empty or duplicated titles — key for screen-reader navigation. Read-only. - check_hyperlinks (pptx): flags non-descriptive link text ("click here", bare URLs, empty). Read-only. - check_font_size (pptx): reports runs below a minimum point size (default 18, configurable); runs with inherited sizes are counted as undetermined. Read-only. - set_pdf_title (pdf): sets the document title (/Info + XMP) and enables the DisplayDocTitle viewer preference so readers show the title, not the filename (PDF/UA). Produces a file. All wired into the registry/runners with structured reports; CLIs included. Smoke test bumped to 14 tools (7/7), acronym tests pass, all four verified on a purpose-built deck/PDF.e553423 -
Add alt-text reporter tool
ClaudeUnverified signaturetools/pptx/report_alt_text.py scans a deck and reports every image's alt-text status (OK / DECORATIVE / MISSING), reusing the same descr/decorative detection as the HTML exporter. Read-only — produces a structured findings report (slide, shape, status, alt_text) and no output file. Wired into the registry and runners as the 10th tool; usable from the CLI too. Verified: OK, DECORATIVE, and MISSING paths all detected; smoke test updated to expect 10 tools (7/7 green).4e7642c -
Add batch processing (multi-file upload -> zip)
ClaudeUnverified signature- /api/run/{tool} now accepts multiple files. One file returns that file directly (unchanged); multiple files are processed independently and zipped, with arcname de-duplication and a combined per-file report. Per-file errors are captured in the report so one bad file doesn't sink the batch. - Frontend: file input accepts multiple; status shows the file count. - smoke_test.sh: switch to the `files` field and add a batch (zip) check. Smoke test green (7/7), including batch.7246dc8 -
Add smoke tests and fixtures
ClaudeUnverified signature- scripts/smoke_test.sh: dependency-light HTTP smoke test (curl + python3) exercising health, tool list, a file-producing PPTX and PDF tool with download, the report-only preview path, and wrong-file-type rejection. - scripts/docker_smoke.sh: build image, run container, wait for health, run the HTTP smoke test against it, tear down. - tests/fixtures: small sample.pptx/sample.pdf plus _generate.py to recreate them. HTTP smoke test verified green against a local uvicorn (6/6).8960eeb