Add tabIndex=-1 to all hints (#5703)
This commit is contained in:
parent
aaf59553e7
commit
a7f4b4c2f1
@ -36,6 +36,7 @@ function Icon ({ className = '', color = 'normal', icon, isPadded, isSpinning, o
|
||||
onClick={onClick}
|
||||
size={size}
|
||||
spin={isSpinning}
|
||||
tabIndex={-1}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user