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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user