mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 17:45:18 -05:00
tests/playwright/specs/47-accessibility-everywhere.e2e.js scans every Admin Panel pane and the member, list, swimlane and card details menus with axe, checks 320 px reflow and that nothing animates when reduced motion is asked for. What it found is fixed: - names: every unnamed input and select of the Admin Panel is named by the label shown beside it; table page filters lost their label in models/lib/tablePage.js; people rows and avatar links name the person, and a person link's name starts with its visible initials (2.5.3); - contrast: the feature descriptions, source badges, instrumentation headings and the default theme's menu hover pass 4.5:1; - target size: checkbox rows, notification options and the Select all links are at least 24 x 24 px; - the member menu's dependency toggles are checkboxes in a well-formed list; - reduced motion: one rule in its own CSS layer makes every animation and transition instant, even those header.css marks !important. Spec 47 passes in Chromium, and specs 45 and 46 still pass (39). tests/accessibilitySpec47Fixes.test.cjs pins the fixes, and fails when a settings select has no name. Thanks to xet7 !
9 lines
352 B
Plaintext
9 lines
352 B
Plaintext
template(name='connectionMethod')
|
|
div.at-form-authentication
|
|
label {{_ 'authentication-method'}}
|
|
select.select-authentication(aria-label="{{_ 'authentication-method'}}")
|
|
each authentications
|
|
if isSelected value
|
|
option(value="{{value}}" selected) {{_ value}}
|
|
else
|
|
option(value="{{value}}") {{_ value}} |