I had someone ask me if it's possible to add a link under the header (or maybe in the menu), that would take a visitor to a site directly to the sidebar when viewing the site on a mobile device (rather than having to scroll down...)
It's a good idea actually.
I try to always add a skip link via simple hooks in genesis_before_header to take keyboard users and screenreaders past the navigation and straight to the page content - you could add one to take people to the sidebar as well. These could be positioned off-screen and activated on focus for larger screens and visible the whole time on mobiles.
<ul id="skip"> <li><a href="#content">skip to content</a></li> <li><a href="#sidebar">skip to sidebar</a></li> </ul>
Guess you could also get fancier by checking to see if there's a sidebar on the page before adding that link...
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!