mirror of
https://github.com/wekan/wekan.git
synced 2026-11-20 09:45:04 -05:00
Repair relative ordering and destination dialog lifecycles, retain failed operations, and make checklist, rule and attachment controls keyboard accessible. Improve scaled layouts and reuse canonical translated labels. Add source-execution and Chromium/Firefox regression coverage, including awaiting background persistence before reload. Record implementation decisions and validation limits. Thanks to xet7 !
24 lines
657 B
JavaScript
24 lines
657 B
JavaScript
'use strict';
|
|
|
|
const assert = require('node:assert/strict');
|
|
const fs = require('node:fs');
|
|
const path = require('node:path');
|
|
|
|
const passwordTemplate = fs.readFileSync(
|
|
path.join(__dirname, '..', 'client', 'components', 'users', 'passwordInput.jade'),
|
|
'utf8',
|
|
);
|
|
|
|
assert.doesNotMatch(
|
|
passwordTemplate,
|
|
/button\.password-toggle-btn[^\n]*tabindex="-1"/,
|
|
'A05: reveal/hide is deliberately reachable in normal Tab order',
|
|
);
|
|
assert.doesNotMatch(
|
|
passwordTemplate,
|
|
/input\.password-field[^\n]*tabindex="-1"/,
|
|
'password fields themselves must remain in the sequential Tab order',
|
|
);
|
|
|
|
console.log('Auth form keyboard regression checks passed.');
|