Skip to content

Commit da86abd

Browse files
committed
docs: address Copilot review wording (PR #24)
1 parent b7bae63 commit da86abd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tests/audit/no-noninteractive-tabindex/peer-parity.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
// Rule-option notes:
2222
// - jsx-a11y ships two configs: `recommended` (with `roles: ['tabpanel']`
2323
// and `allowExpressionValues: true`) and `strict` (no options). Our rule
24-
// takes no options. We map jsx-a11y's RECOMMENDED config for
25-
// `allowExpressionValues`-style behavior (dynamic role expressions pass),
26-
// and jsx-a11y's STRICT config for `tabpanel` (it's flagged). Where these
27-
// collide we note the specific divergence.
24+
// supports a `roles` option (default `['tabpanel']`) and always treats
25+
// dynamic role expressions as opaque (equivalent to jsx-a11y's
26+
// `allowExpressionValues: true`). That matches jsx-a11y's RECOMMENDED
27+
// behavior by default; STRICT-style flagging can be opted into with
28+
// `{ roles: [] }`. Where these collide we note the specific divergence.
2829

2930
'use strict';
3031

0 commit comments

Comments
 (0)