diff --git a/cms/static/coffee/spec/main.coffee b/cms/static/coffee/spec/main.coffee index bd349a97e3..379e5efc17 100644 --- a/cms/static/coffee/spec/main.coffee +++ b/cms/static/coffee/spec/main.coffee @@ -30,6 +30,7 @@ requirejs.config({ "xmodule": "xmodule_js/src/xmodule", "xblock": "xmodule_js/common_static/coffee/src/xblock", "utility": "xmodule_js/common_static/js/src/utility", + "accessibility": "xmodule_js/common_static/js/src/accessibility_tools", "sinon": "xmodule_js/common_static/js/vendor/sinon-1.7.1", "squire": "xmodule_js/common_static/js/vendor/Squire", "jasmine-jquery": "xmodule_js/common_static/js/vendor/jasmine-jquery", diff --git a/cms/static/sass/_base.scss b/cms/static/sass/_base.scss index 7735a83297..852be14801 100644 --- a/cms/static/sass/_base.scss +++ b/cms/static/sass/_base.scss @@ -830,6 +830,20 @@ hr.divider { @extend %cont-text-sr; } +/* show skip links on focus */ +#skip-link a{ + position:absolute; + &:focus { + width: auto; + height: auto; + overflow: visible; + background-color: #fff; + border: 2px solid black; + padding: 3px; + z-index: 1005; + } +} + // ==================== // js dependant diff --git a/cms/templates/base.html b/cms/templates/base.html index ded53b8188..734e4b5715 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -29,6 +29,7 @@ +