mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Improve Accessibility (#1113)
* Add role * Add aria-hidden to decoration icons * Add sr-only css and add column header
This commit is contained in:
@@ -50,11 +50,11 @@ define([
|
||||
getIconTitle: function() {
|
||||
var icon_title = '';
|
||||
if (this.get('encrypted')) {
|
||||
icon_title = gettext("Encrypted");
|
||||
icon_title = gettext("Encrypted library");
|
||||
} else if (this.get('permission') == "rw") {
|
||||
icon_title = gettext("Read-Write");
|
||||
icon_title = gettext("Read-Write library");
|
||||
} else {
|
||||
icon_title = gettext("Read-Only");
|
||||
icon_title = gettext("Read-Only library");
|
||||
}
|
||||
|
||||
return icon_title;
|
||||
|
Reference in New Issue
Block a user