diff --git a/plugins/CoreHome/javascripts/corehome.js b/plugins/CoreHome/javascripts/corehome.js index f09ecb6c9caf912f31e17defd8eaa8e873b6c71c..70d278ece4e6ad26e7c41ca7f2e7111916f3faee 100755 --- a/plugins/CoreHome/javascripts/corehome.js +++ b/plugins/CoreHome/javascripts/corehome.js @@ -181,5 +181,15 @@ ajaxRequest.send(false); }); }); + + + }(jQuery)); + +$( document ).ready(function() { + $('.accessibility-skip-to-content').click(function(e){ + $('a[name="main"]').attr('tabindex', -1).focus(); + $(window).scrollTo($('a[name="main"]')); + }); +}); \ No newline at end of file