task: #3625609 Update @vardot/varbase-e2e to 2.0.7 and widen the accessibility coverage

Issue: https://www.drupal.org/project/varbase_project/issues/3625609

Updates @vardot/varbase-e2e to ^2.0.7 for the cumulative impact gate (no serious now also fails on critical), the one step full check and the element level rule check. yarn.lock is regenerated because CI runs yarn install and yarn 4 is immutable in CI, so a package.json bump alone fails the job.

The accessibility coverage goes from 10 scenarios on mostly the homepage to 49 across every public page. 15-02-accessibility.feature is rewritten to 34 scenarios, one gate per page with the rules that matter pinned by id, and 15-05-accessibility-structure.feature adds 15 for the page title, language, a single h1, heading order, landmarks, the skip link, zoom, control names, ARIA references and roles, and positive tabindex.

49 of 49 scenarios pass on a fresh Varbase 11 install with vartheme_bs5 5.0.4.

Remaining tasks

  • Raise About Varbase, Features, Blog and Contact Us from a level A audit to no serious accessibility violations once the colour contrast of .btn-outline-primary text on a bg-secondary-subtle card is resolved. About 3.6:1 against the 4.5:1 AA threshold, 2 to 3 nodes per page. Owned by vartheme_bs5 and the recipe content, not by this change.
  • Turn I print the full accessibility check into the asserting the page should pass the full accessibility check once the site wide search block has an accessible label. views.view.search exposes its keyword filter with an empty label and only a Search by keyword placeholder, and it ships from the drupal_cms_search recipe, so it affects the Varbase base too. The full check always runs the structural probes, so no audit level avoids it.
  • Restore the form field label probe on Contact Us and Blog once that same search label is fixed. It is pinned to /user/login for now.
  • Renumber 15-05-accessibility-structure.feature if the unpushed local work that already uses 15-04-drimage-images.feature does not land.

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
Edited by Rajab Natshah

Merge request reports

Loading
Loading