mirror of
https://github.com/maputnik/editor.git
synced 2026-09-01 01:47:26 +00:00
Made buttons keyboard accessible.
This commit is contained in:
@@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user