Skip to content

3.9.0

Choose a tag to compare

@github-actions github-actions released this 29 May 03:17
· 83 commits to refs/heads/main since this release
9ccc5d9

What's new since 3.8.2

Highlights

  • [#642] Added 'AccessibilityTrait' for tool-agnostic WCAG testing. @AlexSkrypnyk (#643)
    Adds AccessibilityTrait, an in-Behat WCAG-testing trait that runs accessibility checks against the same JavaScript-capable Mink session existing @javascript scenarios already use - no new test runner, container, or external service. Authors assert with the explicit step Then the current page should pass accessibility checks (optionally for tags :rules), or tag a scenario or feature with @accessibility to run checks automatically after every step that changes the URL; gate severity is controlled per scenario via the @accessibility-critical, @accessibility-serious, @accessibility-moderate, @accessibility-minor, @accessibility-any, @accessibility-warning, and @accessibility-strict tags. Every checked scenario writes one HTML and one JUnit XML report with a section per visited URL; the default engine is axe-core loaded from CDN, but consumers can plug in a different engine by overriding accessibilityRunEngine() and accessibilityNormalizeResults() without forking the trait.
  • Bumped 'drupal/drupal-extension' to stable and removed 6.0 deprecations. @AlexSkrypnyk (#644)
    Promotes drupal/drupal-extension from the pre-release ^6.0.0-RC2 constraint to stable ^6.0 now that the 6.0 line has shipped, drops the redundant direct drupal/drupal-driver entry (it is pulled in transitively by drupal-extension), adds a conflict on drupal/drupal-extension: <6 to block accidental downgrades, and removes the minimum-stability: RC / prefer-stable: true overrides that are no longer needed once every constraint targets stable. Also migrates behat.yml message selectors from the deprecated flat keys (message_selector, error_message_selector, success_message_selector, warning_message_selector) to the nested selectors.messages.{default,error,success,warning} map; the flat form still works in 6.0 but emits deprecation notices and is removed in 6.1, so consumers who copied that pattern into their own behat.yml should mirror the migration.

All changes

Full Changelog: 3.8.2...3.9.0