diff --git a/.github/actions/docs-spelling/allow/keywords.txt b/.github/actions/docs-spelling/allow/keywords.txt index c2b8fadf3a..21b014e318 100644 --- a/.github/actions/docs-spelling/allow/keywords.txt +++ b/.github/actions/docs-spelling/allow/keywords.txt @@ -101,6 +101,8 @@ offbudget ofx OFX oneof +oxfmt +oxlint payeerule pikaday pikapods diff --git a/.oxlintrc.json b/.oxlintrc.json index 22caa3bc1f..0186281c46 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -2,15 +2,12 @@ "$schema": "./node_modules/oxlint/configuration_schema.json", "plugins": ["react", "typescript", "import", "jsx-a11y"], "rules": { + "jsx-a11y/no-autofocus": ["warn", { "ignoreNonDOM": true }], + // TODO fix all these and re-enable - "jsx-a11y/alt-text": "off", - "jsx-a11y/aria-role": "off", "jsx-a11y/click-events-have-key-events": "off", - "jsx-a11y/label-has-associated-control": "off", "jsx-a11y/prefer-tag-over-role": "off", - "jsx-a11y/role-has-required-aria-props": "off", "jsx-a11y/tabindex-no-positive": "off", - "no-autofocus": "off", }, "overrides": [ { diff --git a/packages/component-library/src/Toggle.tsx b/packages/component-library/src/Toggle.tsx index ee055edf8b..dd00190258 100644 --- a/packages/component-library/src/Toggle.tsx +++ b/packages/component-library/src/Toggle.tsx @@ -36,6 +36,7 @@ export const Toggle = ({ })} type="checkbox" /> + {/* oxlint-disable-next-line eslint-plugin-jsx-a11y(label-has-associated-control) */}