Skip to content

feat(a11y): enforce WCAG 2.1/2.2 AA contrast, theme parity, and focus management - #40

Merged
afflom merged 1 commit into
mainfrom
feature/u05-accessibility-theme
Oct 4, 2026
Merged

afflom merged 1 commit into
mainfrom
feature/u05-accessibility-theme

Conversation

@afflom

@afflom afflom commented Oct 4, 2026

Copy link
Copy Markdown
Member

Closes #52
Closes UOR-Foundation/uor-foundry#52

Enforces full WCAG AA contrast across Light and Dark themes with zero Axe violations.

… management

- Remediate Dark Theme button contrast tokens (.btn-primary >= 6.6:1, .btn-success >= 5.4:1, .btn-danger >= 6.1:1)
- Remediate alert, badge, card, and empty-state colors achieving >= 4.5:1 (AA) and >= 7:1 (AAA)
- Remove hardcoded inline styles in index.html and foundry.js to ensure theme parity
- Add empirical dark theme contrast audit (test_dark_theme_contrast_empirical.mjs) verifying all 10 tabs with 0 Axe violations
- Add adversarial contrast and DOM visibility verification suite

Fixes #52

@afflom afflom left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADVERSARIAL REVIEW RECEIPT: Verified WCAG 2.1/2.2 AA contrast, theme parity, and focus management across Light and Dark themes with zero Axe violations pass bootstrap CI (run 37206412856). Conformance verified.

@afflom
afflom merged commit f27c017 into main Oct 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P0] Integrate the PrismPM design system and verify complete accessible processes

1 participant