From e8edef9a1c6f5f1a451af5a4caaf7eba14c60556 Mon Sep 17 00:00:00 2001 From: Rayan Salhab Date: Wed, 25 Mar 2026 07:11:49 +0000 Subject: [PATCH] fix: remove tabIndex={-1} from clear button to make it keyboard accessible The clear button had tabIndex={-1} which made it unreachable via keyboard navigation, violating WCAG 2.1 success criteria 2.1.1 and 2.1.3. This change makes the clear button focusable so keyboard users can access and operate this functionality. Fixes ant-design/ant-design#57378 --- src/BaseInput.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/BaseInput.tsx b/src/BaseInput.tsx index 2942d44..02a4398 100644 --- a/src/BaseInput.tsx +++ b/src/BaseInput.tsx @@ -88,7 +88,6 @@ const BaseInput = React.forwardRef((props, ref) => { clearIcon = (