move title to label (#584)
This commit is contained in:
parent
e17f743df1
commit
61264ee2d6
@ -50,12 +50,11 @@ export const ToolButton = React.forwardRef(function(
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<label className="ToolIcon">
|
<label className="ToolIcon" title={props.title}>
|
||||||
<input
|
<input
|
||||||
className={`ToolIcon_type_radio ${sizeCn}`}
|
className={`ToolIcon_type_radio ${sizeCn}`}
|
||||||
type="radio"
|
type="radio"
|
||||||
name={props.name}
|
name={props.name}
|
||||||
title={props.title}
|
|
||||||
aria-label={props["aria-label"]}
|
aria-label={props["aria-label"]}
|
||||||
aria-keyshortcuts={props["aria-keyshortcuts"]}
|
aria-keyshortcuts={props["aria-keyshortcuts"]}
|
||||||
id={props.id}
|
id={props.id}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user