-
-
Notifications
You must be signed in to change notification settings - Fork 866
Closed
Copy link
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.50.0
What command did you run?
bunx oxlint -c .oxlintrc.json packages/ui-components/src/components/search-dialog/index.tsx
What does your .oxlintrc.json (or oxlint.config.ts) config file look like?
What happened?
WAI-ARIA 1.3 describes a role "option" supports aria-posinset and MDN docs also do but oxlint threw following error:
× eslint-plugin-jsx-a11y(role-supports-aria-props): The attribute `aria-posinset` is not supported by the role `option`.
╭─[packages/ui-components/src/components/search-dialog/index.tsx:307:7]
306 │ aria-setsize={ariaSetsize}
307 │ aria-posinset={ariaPosinset}
· ────────────────────────────
308 │ className={styles["search-dialog-item"]}
╰────
help: Try to remove invalid attribute `aria-posinset`.
See WAI-ARIA 1.3 and MDN docs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter