Skip to content

Commit ccf2ba2

Browse files
committed
fix: add 'use strict' to interactive-roles.js; correct audit fixture CI claim
1 parent 0f1c698 commit ccf2ba2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

lib/utils/interactive-roles.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const { roles } = require('aria-query');
24

35
// Interactive ARIA roles — concrete roles whose taxonomy descends from `widget`

tests/audit/no-noninteractive-element-to-interactive-role/peer-parity.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// vuejs-accessibility and lit-a11y do not ship this rule; jsx-a11y is the only
66
// peer source.
77
//
8-
// These tests are NOT part of the main CI suite — they live under tests/audit/
9-
// and encode the CURRENT behavior of our rule so that running this file
10-
// reports pass. Each divergence from jsx-a11y is annotated with a
8+
// These tests run as part of the normal Vitest suite (the `tests/**/*.js` glob
9+
// picks them up) and encode the CURRENT behavior of our rule so that running
10+
// this file reports pass. Each divergence from jsx-a11y is annotated with a
1111
// "DIVERGENCE —" block. Peer-only constructs that cannot be translated to
1212
// Ember templates (JSX spread props, settings.components aliasing, JSX-only
1313
// attribute syntax) are marked "AUDIT-SKIP".

0 commit comments

Comments
 (0)