mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-27 12:13:53 +00:00
@uppy/dashboard: when showAddFilesPanel is true, aria-hidden should be the opposite (#4643)
When showAddFilesPanel is true, aria-hidden should be the opposite
This commit is contained in:
parent
7e4821885b
commit
683af37d57
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ const AddFilesPanel = (props) => {
|
|||
<div
|
||||
className={classNames('uppy-Dashboard-AddFilesPanel', props.className)}
|
||||
data-uppy-panelType="AddFiles"
|
||||
aria-hidden={props.showAddFilesPanel}
|
||||
aria-hidden={!props.showAddFilesPanel}
|
||||
>
|
||||
<div className="uppy-DashboardContent-bar">
|
||||
<div className="uppy-DashboardContent-title" role="heading" aria-level="1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue