1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 19:00:12 +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

@@ -355,6 +355,16 @@ p { margin:0.5em 0; }
text-align:center;
margin:0 0 15px;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
border: 0;
}
/** for input, textarea in form **/ /* e.g repo-create */
.input, .textarea {
width:260px;