Skip to content
Snippets Groups Projects
Commit 4a27e8b6 authored by Chris's avatar Chris
Browse files

Merge pull request #7711 from edx/clrux/UX-1946-div-focus-fix

Adding outline styles (none) to the sr focus div
parents e7772607 2637ac89
No related merge requests found
......@@ -4,7 +4,7 @@ class @Sequence
@el = $(element).find('.sequence')
@contents = @$('.seq_contents')
@content_container = @$('#seq_content')
@sr_container = @$('#sr-is-focusable')
@sr_container = @$('.sr-is-focusable')
@num_contents = @contents.length
@id = @el.data('id')
@ajaxUrl = @el.data('ajax-url')
......
......@@ -60,6 +60,12 @@ div.course-wrapper {
}
}
.sr-is-focusable,
.sr-is-focusable:focus,
.sr-is-focusable:active {
outline: none;
}
.sequential-status-message {
margin-bottom: $baseline;
background-color: $gray-l5;
......
......@@ -30,7 +30,7 @@
<button class="sequence-nav-button button-next">${_('Next')}</button>
</div>
<div id="sr-is-focusable" tabindex="-1"></div>
<div class="sr-is-focusable" tabindex="-1"></div>
% for idx, item in enumerate(items):
<div id="seq_contents_${idx}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment