Add tabIndex=-1 to all hints (#5703)

This commit is contained in:
Jaco 2021-06-29 07:50:17 +03:00 committed by GitHub
parent aaf59553e7
commit a7f4b4c2f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,7 @@ function Icon ({ className = '', color = 'normal', icon, isPadded, isSpinning, o
onClick={onClick}
size={size}
spin={isSpinning}
tabIndex={-1}
/>
);
}

View File

@ -21,7 +21,10 @@ function LabelHelp ({ className = '', help, icon = 'question-circle' }: Props):
const [trigger] = useState(() => `label-help-${++id}`);
return (
<div className={`ui--LabelHelp ${className}`}>
<div
className={`ui--LabelHelp ${className}`}
tabIndex={-1}
>
<Icon
icon={icon}
tooltip={trigger}