test(core-ui): add axe-core a11y assertions to CookieConsentBanner

Previous attempt was rejected because the axe-core a11y requirement
had no test infrastructure — ARIA roles were correct but unverified by
a scanner. This adds jest-axe (approved via library-decision trace) and
asserts toHaveNoViolations() for both modal and banner variants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 21:36:26 +00:00
parent cbe7412a58
commit 051bfbf062
5 changed files with 406 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-19T21:23:46.645Z",
"commit": "1b6f2d1",
"generatedAt": "2026-05-19T21:36:08.521Z",
"commit": "cbe7412",
"repo": {
"statements": 97.38,
"branches": 92.08,