File tree Expand file tree Collapse file tree
tests/audit/no-noninteractive-tabindex Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments