1
0
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:
Daniel Pan
2016-04-13 20:10:30 +08:00
parent ad6591fb82
commit 0320d2e4b2
6 changed files with 62 additions and 38 deletions

View File

@@ -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;