Made buttons keyboard accessible.

This commit is contained in:
orangemug
2018-05-10 16:50:37 +01:00
parent 06eac68f9d
commit 11d73595fc
5 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -63,13 +63,13 @@ class ToolbarAction extends React.Component {
}
render() {
return <a
return <button
className='maputnik-toolbar-action'
data-wd-key={this.props.wdKey}
onClick={this.props.onClick}
>
{this.props.children}
</a>
</button>
}
}