Problem/Motivation
The theme has no test suite at all: no tests directory, no feature files, no Cucumber config. Accessibility regressions in the theme are only caught downstream in Varbase Starter, after they ship.
Proposed resolution
Add a Varbase functional testing suite (@vardot/varbase-e2e 2.0.7, Playwright plus Cucumber-js) covering the accessibility of the pages the theme renders: the page shell and landmarks, component accessible names, axe impact gates, accessibility rules pinned by name, and the hero slider target size.
Keep the suite self-contained under tests/ with its own package.json and cucumber.js, so the theme yarn build toolchain is untouched. Add CI stages that build a Varbase 11 host carrying the Varbase Starter site template, rendering through the checked-out theme, and drive the suite against it.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ✅ Testing to ensure no regression
- ✅ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ➖ UX/UI designer responsibilities
- ✅ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release
Three findings stand on the site today. The suite reports them rather than gating on them, and each needs its own issue:
--bs-primary(#0d6efd) on its own--bs-secondary-bg-subtle(#f3f1ef) is 3.99:1, where WCAG AA asks 4.5:1.- The not found page renders no heading at all.
- The site search field is exposed with a placeholder and no label.
AI-Generated: Yes
Issue fork vartheme_bs5-3625575
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
rajab natshah✅ Released vartheme_bs5-5.0.5
50 scenarios over 266 steps, green on the tag pipeline.