Hey @Togger, I saw the same issue when I was running diagnosis. My coding skills are not far off new-born but I managed to piece this together from some code posted by @tcp13on another thread and it seems to be working!
I placed it in the footer code injection to try and avoid any other performance penalties from Google by putting it in the header but no idea if that's the right thing to do!
Skip Link in Header for Web Content Accessibility Guidelines
in Customize with code
Posted
Hey @Togger, I saw the same issue when I was running diagnosis. My coding skills are not far off new-born but I managed to piece this together from some code posted by @tcp13on another thread and it seems to be working!
I placed it in the footer code injection to try and avoid any other performance penalties from Google by putting it in the header but no idea if that's the right thing to do!
---
<script src="https://code.jquery.com/jquery-3.6.1.slim.min.js"></script>
<script>
//This code runs when the DOM is ready.
$(document).ready(function(){
//This code changes the skip link tabindex to 0.
$(".header-skip-link").attr("tabindex","0");
});
</script>