add aria-tags
This commit is contained in:
parent
5cf1249cc7
commit
6e74ef03c4
2 changed files with 5 additions and 4 deletions
|
@ -49,7 +49,7 @@ class Sidebar extends React.Component {
|
|||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<ul className="sidebar__file-list">
|
||||
<ul className="sidebar__file-list" title="project files">
|
||||
{this.props.files.map((file, fileIndex) =>
|
||||
<SidebarItem
|
||||
key={file.id}
|
||||
|
|
|
@ -58,14 +58,15 @@ class SidebarItem extends React.Component {
|
|||
}}
|
||||
onKeyPress={this.handleKeyPress}
|
||||
/>
|
||||
<a
|
||||
<button
|
||||
className="sidebar__file-item-show-options"
|
||||
aria-label="view file options"
|
||||
onClick={() => this.props.showFileOptions(this.props.file.id)}
|
||||
>
|
||||
<InlineSVG src={downArrowUrl} />
|
||||
</a>
|
||||
</button>
|
||||
<div ref="fileOptions" className="sidebar__file-item-options">
|
||||
<ul>
|
||||
<ul title="file options">
|
||||
<li>
|
||||
<a
|
||||
onClick={() => {
|
||||
|
|
Loading…
Reference in a new issue