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
3605ebd0
Commit
3605ebd0
authored
Oct 21, 2013
by
jmclaus
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1398 from edx/jmclaus/bugfix_caption_a11y
Caption functionality announced when tabbing to list
parents
afa2a681
1810022d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
common/lib/xmodule/xmodule/js/src/video/09_video_caption.js
+4
-0
lms/templates/video.html
+1
-1
No files found.
common/lib/xmodule/xmodule/js/src/video/09_video_caption.js
View file @
3605ebd0
...
...
@@ -432,14 +432,18 @@ function () {
// outline has to be drawn (tabbing) or not (mouse click).
this
.
videoCaption
.
isMouseFocus
=
false
;
// Set top and bottom spacing heigh and make sure they are taken out of
// the tabbing order.
this
.
videoCaption
.
subtitlesEl
.
prepend
(
$
(
'<li class="spacing">'
)
.
height
(
this
.
videoCaption
.
topSpacingHeight
())
.
attr
(
'tabindex'
,
-
1
)
)
.
append
(
$
(
'<li class="spacing">'
)
.
height
(
this
.
videoCaption
.
bottomSpacingHeight
())
.
attr
(
'tabindex'
,
-
1
)
);
this
.
videoCaption
.
rendered
=
true
;
...
...
lms/templates/video.html
View file @
3605ebd0
...
...
@@ -85,7 +85,7 @@
</section>
</article>
<ol
class=
"subtitles"
tabindex=
"0"
title=
"
Captions
"
><li></li></ol>
<ol
class=
"subtitles"
tabindex=
"0"
title=
"
${_('Captions')}"
role=
"group"
aria-label=
"${_('Activating an item in this group will spool the video to the corresponding time point')}
"
><li></li></ol>
</div>
<div
class=
"focus_grabber last"
></div>
...
...
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