Merge pull request #1157 from edx/adam/a11y

make seq tooltips appear on focus
This commit is contained in:
Adam
2013-09-27 13:41:01 -07:00
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ nav.sequence-nav {
outline: 0;
}
&:hover {
&:hover, &:focus {
background-color: #fff;
background-repeat: no-repeat;
background-position: center 14px;
@@ -235,7 +235,7 @@ nav.sequence-nav {
}
}
&:hover {
&:hover, &:focus {
p {
display: block;
margin-top: 4px;

View File

@@ -103,6 +103,7 @@ class @Sequence
sequence_links = @$('#seq_content a.seqnav')
sequence_links.click @goto
@$("a.active").blur()
goto: (event) =>
event.preventDefault()