Commit 892ec9a
committed
docs: correct code comment — rule diverges from jsx-a11y on role-fallback semantics
The previous comment said this matched jsx-a11y, but jsx-a11y validates
every recognised role token while we check only the first recognised
role per ARIA role-fallback semantics. Update the comment to reflect
the PR description's stated behavior.1 parent 7514197 commit 892ec9a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments