Install
Works with Drupal: ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
606.9 KB
MD5: 58ca58e0462f55e6435dfb8eee010af8
SHA-1: c9854400844a7b78ede440b87367b1dca18a9c74
SHA-256: 6af5482a12cc98b119d3e103cb7f3748b590f807326d9f28efa57db79a099acc
Download zip
615.26 KB
MD5: 69edf569e6924ec493cf3f4f6c025278
SHA-1: 93676534eaae64f68ece1014dba1c3f2adb852c9
SHA-256: 6bcdabce29bbc7214c686e14ad9b383f8cb9005be61bcc8a84a8dc6809471dad
Release notes
Accessibility fixes for the theme-preview widget, following a WCAG 2.1 AA accessibility audit.
- Fixed: Toggle button's keyboard focus ring failed non-text contrast (SC 1.4.11) — the semi-transparent ring blended into the page behind it. Replaced with an opaque two-tone ring that's visible on any background.
- Fixed: In dark mode, the white swap icon on the toggle badge had only 2.34:1 contrast against its background. It now uses a dedicated, darker background color reaching ~4.27:1, without affecting the active-theme checkmark elsewhere in the panel.
- Fixed: Keyboard focus on a theme row in the preview panel was nearly invisible, sharing a faint hover-only style. Rows now get their own clear focus ring.
- Improved: The widget now appears early in the page's tab order (right after the "Skip to main content" link) instead of after all other page content, so keyboard users reach it in a couple of tabs instead of dozens.
- Added: An "Original" marker on the theme that was active when you opened the widget, so it's easy to get back to your starting point after previewing a few themes.