mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 12:37:00 +00:00
role and aria-label for file list
This commit is contained in:
parent
0c71a306cb
commit
8001b17bf7
2 changed files with 3 additions and 2 deletions
|
|
@ -54,7 +54,8 @@ module.exports = (props) => {
|
|||
handleFolderClick: props.getNextFolder,
|
||||
getItemName: props.getItemName,
|
||||
getItemIcon: props.getItemIcon,
|
||||
handleScroll: props.handleScroll
|
||||
handleScroll: props.handleScroll,
|
||||
title: props.title
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ module.exports = (props) => {
|
|||
|
||||
return html`
|
||||
<table class="BrowserTable" onscroll=${props.handleScroll}>
|
||||
<tbody>
|
||||
<tbody role="listbox" aria-label="List of files from ${props.title}">
|
||||
${props.folders.map((folder) => {
|
||||
return Row({
|
||||
title: props.getItemName(folder),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue