Commit 14b9028d authored by Audrey Hamelers's avatar Audrey Hamelers

feat(ui): remove FilePicker div, add aria role

Removed unneeded div from around FilePicker and added aria role="button" to improve accessibility

BREAKING CHANGE: Those importing and styling FilePicker may be expecting the div; FilePicker is no
longer a block element by default
parent 9fadd91a
Pipeline #13174 canceled with stages
......@@ -36,7 +36,7 @@ class FilePicker extends Component {
render() {
const { children, disabled } = this.props
return (
......@@ -55,8 +55,9 @@ class FilePicker extends Component {
role: 'button',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment