test: #3625575 Add the accessibility functional testing suite and the CI that runs it
Problem / Motivation
The theme had no automated accessibility coverage, so a regression like the hero slider indicator spacing fixed in 5.0.4 could come back unnoticed.
Proposed resolution
50 scenarios in 5 feature files under tests/, on @vardot/varbase-e2e 2.0.7 (Playwright + Cucumber-js), covering page shell structure, accessible names on components, axe impact gates, named rule regressions and the hero slider.
.gitlab-ci.yml builds a Varbase 11 host with the Varbase Starter site template rendering through this checkout of the theme, then runs the suite. Every job is a gate: no allow_failure and no swallowed failure.
All 50 scenarios pass against a Varbase Starter host, and the hero slider scenario goes red when the 5.0.4 gap: 1rem is removed.
Issue: https://www.drupal.org/project/vartheme_bs5/issues/3625575
Remaining tasks
-
/features,/about-varbase,/contact-usand/blogare gated at critical rather than serious because each carries a seriouscolor-contrastfinding,#0d6efdon#f3f1efat 3.99:1 where abtn-outline-primarysits inside abg-secondary-subtlecard. Raising those four to serious needs a colour decision, so it is not in this MR.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release