Install
Works with Drupal: ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
676.54 KB
MD5: 1e0fd75f6c9cb9afba39a6b775ba2391
SHA-1: c040ffb69f27a3a9a2b26648fcc050d846eb8da2
SHA-256: a36610182fc6f33b5ad8d479ebcaf3af9fc093b28aa0c7a4687951cc9b6e62c2
Download zip
751.54 KB
MD5: aa4be3301b11628aa20281589bd1eddd
SHA-1: f742b4e7811982b06b2bff2459a4b06c61118ca0
SHA-256: 62ec7e52bae480763d2e8fe1de52017fe36f6657857a5fb216ff629e3ed10de1
Release notes
Fixed
- A data table that scrolls sideways now follows keyboard focus into a column it shows only in part. A register wider than the window scrolls inside its own box, and the browser scrolls that box to a focused link only when the link is entirely out of view: a link that was partly visible stayed cut off at the table's edge. On the theme's own test tables at 320 px wide, a link reached with the Tab key was left with 72.5% of it on screen; it is now wholly on screen.
- How it works, and what it does not do. A small script, the theme's first, scrolls the focused element into view inside the table and does nothing else. It acts on keyboard focus only, so a mouse click never moves the table under the pointer. It does not animate. It has no dependencies, and it is loaded only on pages that render a table. Without JavaScript, tables work exactly as before.
Accessibility gate
- WCAG 2.2 target size (Success Criterion 2.5.8) is now checked on every scanned page. axe ships its
target-sizerule switched off, so before this release the gate never evaluated it. It is now requested by name, and each page must show that the rule ran and passed. - A keyboard test now presses real keys. On both of the theme's table templates it tabs into a table at 320 px and asserts that the focused link is wholly on screen, then clicks with a real pointer and asserts that the table did not move.
Verified in CI on this tag
- Accessibility: 10 pages scanned, 90 axe rules per page, 0 violations, with
heading-orderandtarget-sizeconfirmed to have run on 10 of 10 pages. - 203 PHPUnit tests, 959 assertions, unchanged from 1.2.0.
- Ten blocking jobs, no permissive ones.
Compatibility
Drupal ^11. No new dependencies. Upgrading from 1.2.0 needs no configuration change. Rebuild caches after updating, as with any theme update, so that the new library and hooks are registered.
Every other change since 1.2.0 is to this project's own tests, CI tooling and README. None of them changes what an installed site does.