ci(a11y): add djlint HTML accessibility lint to CI pipeline

- Add html-lint job to CI that runs djlint on all PRs
- Configure djlint in pyproject.toml with Jinja2 profile and accessibility rules
- Add djlint to requirements-dev.txt
- Expand accessibility section in frontend Copilot instructions (WCAG 2.1 AA)
- Wire html-lint into CI dependency chain (test/mypy/build depend on it)

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-28 16:12:25 +00:00
parent 0969436abd
commit 1968a0e481
4 changed files with 88 additions and 9 deletions
+1
View File
@@ -16,6 +16,7 @@ boto3>=1.26.0 # For S3 integration tests
# Code quality
ruff>=0.3.0
mypy>=1.8.0
djlint>=1.36.0 # HTML template linter for accessibility and best practices
# Type stubs for mypy
types-requests>=2.31.0