Problem/Motivation
An audit of the theme at WCAG 2.2 AAA (axe with the AAA tags, plus contrast, focus, target size, reflow and motion checks) on two Webship site templates and all 59 components found:
- Dark mode never applied its link and button colours: a later
:rootblock cancelled them, so dark links were 3.12:1 (an AA failure). - Text, link and primary colours below 7:1; white text on primary, danger, success and warning backgrounds below 7:1; alert colours with no dark versions.
- A dotted focus ring with no offset, lost inside inverse sections and missing on inputs.
- Faint form borders, targets smaller than 44px (skip link, feed link, slider dots, offcanvas close), and a paused slider restarting on tab change.
Proposed resolution
New AAA tokens for light and dark (with text tokens separate from background tokens), a solid 2px focus ring with an offset everywhere, a form border token, 44px targets, text wrapped at 65ch, reduced motion honoured, UI Skins defaults that match what the theme applies, and a webship-js AAA feature (axe AAA on pages and the component library in both modes, focus, targets, reflow). The README lists the AAA criteria that need a manual check.
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ✅ Automated functional testing coverage
- ✅ Accessibility and Readability
- ❌ Release
User interface changes
- Darker text and accent colours, a solid focus ring, 44px controls, covers with a background box behind their text (overlay: none keeps the old look).
AI-Generated: Yes
Issue fork ui_suite_uikit-3626503
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 in 1.0.4.
AAA checked with axe and contrast, focus, target and reflow checks on two Webship site templates and all 59 components, light and dark; the new 05-02-01-wcag-aaa feature keeps it that way.
AI-Generated: Yes