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>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul className="sidebar__file-list">
|
<ul className="sidebar__file-list" title="project files">
|
||||||
{this.props.files.map((file, fileIndex) =>
|
{this.props.files.map((file, fileIndex) =>
|
||||||
<SidebarItem
|
<SidebarItem
|
||||||
key={file.id}
|
key={file.id}
|
||||||
|
|
|
@ -58,14 +58,15 @@ class SidebarItem extends React.Component {
|
||||||
}}
|
}}
|
||||||
onKeyPress={this.handleKeyPress}
|
onKeyPress={this.handleKeyPress}
|
||||||
/>
|
/>
|
||||||
<a
|
<button
|
||||||
className="sidebar__file-item-show-options"
|
className="sidebar__file-item-show-options"
|
||||||
|
aria-label="view file options"
|
||||||
onClick={() => this.props.showFileOptions(this.props.file.id)}
|
onClick={() => this.props.showFileOptions(this.props.file.id)}
|
||||||
>
|
>
|
||||||
<InlineSVG src={downArrowUrl} />
|
<InlineSVG src={downArrowUrl} />
|
||||||
</a>
|
</button>
|
||||||
<div ref="fileOptions" className="sidebar__file-item-options">
|
<div ref="fileOptions" className="sidebar__file-item-options">
|
||||||
<ul>
|
<ul title="file options">
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Loading…
Reference in a new issue