mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 04:48:03 +00:00
[a11y] added 'keyboard access' for 'dir view - dirent' & fixed bugs
This commit is contained in:
@@ -146,13 +146,15 @@ class MylibRepoMenu extends React.Component {
|
||||
return (
|
||||
<Dropdown isOpen={this.state.isItemMenuShow} toggle={this.toggleOperationMenu}>
|
||||
<DropdownToggle
|
||||
className="sf-dropdown-toggle sf2-icon-caret-down border-0 p-0"
|
||||
tag="i"
|
||||
role="button"
|
||||
tabIndex="0"
|
||||
className="sf-dropdown-toggle sf2-icon-caret-down"
|
||||
title={gettext('More Operations')}
|
||||
aria-label={gettext('More Operations')}
|
||||
onClick={this.onDropdownToggleClick}
|
||||
onKeyDown={this.onDropdownToggleKeyDown}
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup={true}
|
||||
style={{'minWidth': '0'}}
|
||||
/>
|
||||
<DropdownMenu>
|
||||
{operations.map((item, index)=> {
|
||||
|
Reference in New Issue
Block a user