Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2192f655
Unverified
Commit
2192f655
authored
Nov 29, 2017
by
Christopher Lee
Committed by
GitHub
Nov 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16686 from mikix/mikix/LEARNER-2893
Fix keyboard navigation in course outline
parents
37844fd9
8570809c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+2
-9
No files found.
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
View file @
2192f655
...
...
@@ -14,25 +14,19 @@ from openedx.core.djangolib.markup import HTML, Text
<main
role=
"main"
class=
"course-outline"
id=
"main"
tabindex=
"-1"
>
% if blocks.get('children'):
<ol
class=
"block-tree"
role=
"tree"
>
<ol
class=
"block-tree"
>
% for section in blocks.get('children'):
<li
aria-expanded=
"true"
class=
"outline-item focusable section"
id=
"${ section['id'] }"
role=
"treeitem"
tabindex=
"0"
>
<div
class=
"section-name"
>
<h3
class=
"section-title"
>
${ section['display_name'] }
</h3>
</div>
<ol
class=
"outline-item focusable"
role=
"group"
tabindex=
"0"
>
<ol
class=
"outline-item focusable"
>
% for subsection in section.get('children', []):
<li
class=
"subsection ${ 'current' if subsection['last_accessed'] else '' }"
role=
"treeitem"
tabindex=
"-1"
aria-expanded=
"true"
>
<a
class=
"outline-item focusable"
...
...
@@ -107,7 +101,6 @@ from openedx.core.djangolib.markup import HTML, Text
<div
class=
"subsection-actions"
>
## Resume button (if last visited section)
% if subsection['last_accessed']:
<span
class=
"sr-only"
>
${ _("This is your last visited course section.") }
</span>
<span
class=
"resume-right"
>
<b>
${ _("Resume Course") }
</b>
<span
class=
"icon fa fa-arrow-circle-right"
aria-hidden=
"true"
></span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment