فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
qa(a11y): native test must report visible field label gaps without overstating full screen-reader compliance
davoodmehraban89 committed
Oct 30, 2026 at 23:34 UTC
e68eb60bfce69b0ffe7d3f5560b7b4658ac1e1ff
1 file changed
+5
tests/windows-vm-installed-tauri-cdp.cjs
+5
@@ -390,6 +390,8 @@ async function connect(url) {
390
assert.equal(audit.shellResults.toastResults.importantErrorsRemain, true);
391
assert.equal(audit.shellResults.toastResults.dismissButtonsWork, true);
392
assert.ok(audit.inventoryCount >= 25, 'Too few visible controls discovered');
393
+ assert.ok(audit.fieldsInspected >= 15, 'Visible form-field inventory unexpectedly small');
394
+ assert.ok(Number.isInteger(audit.fieldsMissingProgrammaticLabel), 'No programmatic label coverage reported');
395
assert.ok(audit.safeClickCount >= 15, 'Safe interaction coverage unexpectedly low');
396
assert.equal(audit.customerDataUsed, false);
397
assert.equal(audit.financialActionsNotBulkClicked, true);
@@ -400,6 +402,9 @@ async function connect(url) {
402
inventoryCount: audit.inventoryCount,
403
safeClickCount: audit.safeClickCount, skippedCount: audit.skippedCount,
404
accessibilityNameGaps: audit.accessibilityNameGaps,
405
+ fieldsInspected: audit.fieldsInspected,
406
+ fieldsMissingProgrammaticLabel: audit.fieldsMissingProgrammaticLabel,
407
+ fieldCoverageByRoute: audit.fieldCoverageByRoute,
408
brokenHandlerCount: audit.brokenHandlerCount,
409
problems: audit.problems.length, byRoute: audit.byRoute,
410
evidenceFile: 'fresh-native-ui-control-click-audit.json',