diff --git a/site/.oxlintrc.jsonc b/site/.oxlintrc.jsonc index c9fc0920741..425ebd9d75a 100644 --- a/site/.oxlintrc.jsonc +++ b/site/.oxlintrc.jsonc @@ -33,6 +33,7 @@ "media-has-caption": "error", "click-events-have-key-events": "error", "no-noninteractive-tabindex": "error", + "interactive-supports-focus": "error", "iframe-has-title": "error", // --- complexity --- @@ -226,8 +227,6 @@ // Effort = approximate work before enabling: // small < medium < large < xl. // ========================================================== - "interactive-supports-focus": "off", // a11y/useFocusableInteractive (small) - // Correctness category rules with existing violations. "require-mock-type-parameters": "off", // (xl) "prefer-tag-over-role": "off", // (large) diff --git a/site/src/components/DateTimeRangePicker/DateTimeRangePicker.tsx b/site/src/components/DateTimeRangePicker/DateTimeRangePicker.tsx index ca4af0fc4b5..10085955b33 100644 --- a/site/src/components/DateTimeRangePicker/DateTimeRangePicker.tsx +++ b/site/src/components/DateTimeRangePicker/DateTimeRangePicker.tsx @@ -324,6 +324,7 @@ export const DateTimeRangePicker: React.FC = ({
{/* Quick picks. This list is the entire dropdown until the user expands the custom range panel. */} + {/* oxlint-disable-next-line jsx-a11y/interactive-supports-focus -- tabIndex must be omitted here; focus order should jump directly from the popover trigger to the role="radio" children, matching the behavior of a