Repository navigation
Bugfix Issue 2127 Authored Accessibility Chapter
Chapter 25 (Non-Functional: Accessibility Testing) was a read-only page.
gui/templates/strategy/nfrAccessibility.html had no textarea and no save
action, so teams could not record the WCAG checks, keyboard/screen-reader
coverage and contrast rules their project actually applies.
The chapter page was still a static translated page. Unlike the existing
Compatibility, Reliability, Maintainability and Introduction editors, it was
not wired to api/strategychapter/index.php, and the report title map in
gui/templates/results/strategyReport.html did not recognize the accessibility
chapter code. The BFF allowlist in schapterCodes() had no accessibility
entry either, even though the chapter itself was already exposed by
api/strategy/index.php.
-
api/strategychapter/index.php: addedaccessibilitytoschapterCodes()and to the documented route contract, soinit,listandsaveuse the same per-project persistence and rights checks as the other authored chapters. -
gui/templates/strategy/nfrAccessibility.html: added the Dashio editor card with a textarea, author/timestamp metadata, Save button, localized status messages, project-context footer and the same 401/403/400 error handling as the Compatibility editor. The read-only role gets a disabled textarea and disabled Save button. -
gui/templates/results/strategyReport.html: addedaccessibility: 'ts.chapterAccessibility'tochapterTitle()so panel 11 uses the localized chapter title in Markdown, HTML, PDF and print exports. -
gui/templates/i18n/*.json: addedts.accessNotesTitle,ts.accessNotesHint,ts.accessNotesLabelandts.accessNotesSaveto all ten bundles, and localized the pre-existingts.chapterAccessibilityandts.chapterAccessibilityDescin the nine non-Romanian bundles. English remains the source string.


-
php -l api/strategychapter/index.php: no syntax errors. - Extracted page JavaScript passed
node --check. -
python3 -m json.toolpassed for all ten bundles. -
bash ai/verify_i18n_coverage.sh: 9 bundle(s) passed, 0 failed. -
grep -c '<textarea>' gui/templates/strategy/nfrAccessibility.html→ 1. - Admin UI: opened the chapter with
?tproject_id=22, savedAccessibility note saved for #2127 verification.and reloaded; textarea and metadata showedUpdated: 2026-11-30 00:46:05 by admin. - BFF:
initreturned the saved text/code/author/timestamps;listreturned["accessibility","compatibility"]; unknown chapter code returned 400bad_chapter; unauthenticatedinitreturned 401. - Read-only user (project role 3): editor rendered
You do not have permission to edit these notes., with textarea and Save disabled; BFF request was 403. - Report:
strategyReport.html?locale=de&tproject_id=22showedBarrierefreiheitstests · Letzter Autor: admin · Aktualisiert: 2026-11-30 00:46:05and the saved note; no untranslatedAccessibility Testingheading remained. - Event Viewer: only
log_level=16AUDIT rows; 0 Error/Warning entries.
PASS — Fixes #2127. Refs #2101, #2128, #2129, #2130.