Skip to content

Commit

Permalink
Making containers focusable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Rodriguez committed Feb 12, 2016
1 parent 8617c99 commit 1394219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lms/static/js/spec/search/search_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ define([
'<div class="courseware-results"></div>' +
'<section id="course-content"></section>' +
'<section id="dashboard-search-results"></section>' +
'<section id="my-courses"></section>'
'<section id="my-courses" tabindex="-1"></section>'
);

TemplateHelpers.installTemplates([
Expand Down Expand Up @@ -705,7 +705,7 @@ define([
loadFixtures('js/fixtures/search/dashboard_search_form.html');
appendSetFixtures(
'<section id="dashboard-search-results"></section>' +
'<section id="my-courses"></section>'
'<section id="my-courses" tabindex="-1"></section>'
);
loadTemplates.call(this);
DashboardSearchFactory();
Expand Down Expand Up @@ -753,4 +753,4 @@ define([
});

});
});
});
2 changes: 1 addition & 1 deletion themes/edx.org/lms/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</div>

<section class="container dashboard" id="dashboard-main">
<section class="my-courses" id="my-courses" role="main" aria-label="Content">
<section class="my-courses" id="my-courses" role="main" aria-label="Content" tabindex="-1">
<header class="wrapper-header-courses">
<h2 class="header-courses">${_("My Courses")}</h2>
</header>
Expand Down

0 comments on commit 1394219

Please sign in to comment.