Add skip links to both CMS and LMS
* add HTML for links * hide links when they are not focused * when focused, show link (as recommended) * move accessibility tools to common LMS-1311
This commit is contained in:
@@ -285,3 +285,19 @@ mark {
|
||||
#feedback_form textarea[name="details"] {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
|
||||
/* show skip links on focus */
|
||||
#skip-link a{
|
||||
position:absolute;
|
||||
&:focus {
|
||||
width: auto;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
background-color: #fff;
|
||||
border: 2px solid black;
|
||||
padding: 3px;
|
||||
z-index: 1005;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user