Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

move title to label (#584)

David Luzar61264ee2d639
diff --git a/src/components/ToolButton.tsx b/src/components/ToolButton.tsx
index 029e295590..8416448a90 100644
--- a/src/components/ToolButton.tsx
+++ b/src/components/ToolButton.tsx
@@ -50,12 +50,11 @@ export const ToolButton = React.forwardRef(function(
);
return (
- <label className="ToolIcon">
+ <label className="ToolIcon" title={props.title}>
<input
className={`ToolIcon_type_radio ${sizeCn}`}
type="radio"
name={props.name}
- title={props.title}
aria-label={props["aria-label"]}
aria-keyshortcuts={props["aria-keyshortcuts"]}
id={props.id}