mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-13 05:39:59 +00:00
Add aria label to repo operations
This commit is contained in:
@@ -39,10 +39,10 @@
|
||||
<% } %>
|
||||
<td class="repo-op-td">
|
||||
<div class="op-container">
|
||||
<a href="#" class="sf2-icon-share sf2-x repo-share-btn op-icon vh" title="{% trans "Share" %}"></a>
|
||||
<a href="#" class="sf2-icon-delete sf2-x repo-delete-btn op-icon vh" title="{% trans "Delete" %}"></a>
|
||||
<a href="#" class="sf2-icon-share sf2-x repo-share-btn op-icon vh" title="{% trans "Share" %}" aria-label="{% trans "Share" %}"></a>
|
||||
<a href="#" class="sf2-icon-delete sf2-x repo-delete-btn op-icon vh" title="{% trans "Delete" %}" aria-label="{% trans "Delete" %}"></a>
|
||||
<div class="dropdown dropdown-inline">
|
||||
<a href="#" class="sf2-icon-caret-down more-op-icon op-icon vh dropdown-toggle" title="{% trans "More operations" %}"></a>
|
||||
<a href="#" class="sf2-icon-caret-down more-op-icon op-icon vh dropdown-toggle" title="{% trans "More operations" %}" aria-label="{% trans "More operations" %}"></a>
|
||||
<ul class="hidden-op repo-hidden-op hide dropdown-menu">
|
||||
<li><a class="op js-repo-rename" href="#">{% trans "Rename" %}</a></li>
|
||||
<li><a class="op js-repo-transfer" href="#">{% trans "Transfer" %}</a></li>
|
||||
|
@@ -23,7 +23,6 @@ define([
|
||||
focus: function() {
|
||||
// if there are dropdown items or freezeItemHightlight is set, don't highlight
|
||||
if (app.ui.currentDropdown || app.ui.freezeItemHightlight) {
|
||||
console.log("app.ui.currentDropdown ");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user