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
43bdb5da
Commit
43bdb5da
authored
Oct 24, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to match new HTML and CSS updates.
LMS-1311
parent
5b63b176
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cms/templates/base.html
+1
-0
common/static/js/src/accessibility_tools.js
+2
-2
No files found.
cms/templates/base.html
View file @
43bdb5da
## -*- coding: utf-8 -*-
## -*- coding: utf-8 -*-
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<!doctype html>
<!doctype html>
...
...
common/static/js/src/accessibility_tools.js
View file @
43bdb5da
...
@@ -114,14 +114,14 @@ var accessible_modal = function(trigger, closeButtonId, modalId, mainPageId) {
...
@@ -114,14 +114,14 @@ var accessible_modal = function(trigger, closeButtonId, modalId, mainPageId) {
// see http://stackoverflow.com/questions/6280399/skip-links-not-working-in-chrome/12720183#12720183
// see http://stackoverflow.com/questions/6280399/skip-links-not-working-in-chrome/12720183#12720183
// handle things properly for clicks
// handle things properly for clicks
jQuery
(
'
#skip-link
a'
).
click
(
function
()
{
jQuery
(
'
.nav-skip
a'
).
click
(
function
()
{
var
href
=
jQuery
(
this
).
attr
(
'href'
);
var
href
=
jQuery
(
this
).
attr
(
'href'
);
if
(
href
)
{
if
(
href
)
{
jQuery
(
href
).
attr
(
'tabIndex'
,
-
1
).
focus
();
jQuery
(
href
).
attr
(
'tabIndex'
,
-
1
).
focus
();
}
}
});
});
// and for the enter key
// and for the enter key
jQuery
(
'
#skip-link
a'
).
keypress
(
function
(
e
)
{
jQuery
(
'
.nav-skip
a'
).
keypress
(
function
(
e
)
{
if
(
e
.
which
==
13
)
{
if
(
e
.
which
==
13
)
{
var
href
=
jQuery
(
this
).
attr
(
'href'
);
var
href
=
jQuery
(
this
).
attr
(
'href'
);
if
(
href
)
{
if
(
href
)
{
...
...
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