bkirkland
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Skip to main content?While this does fix the display issues, I don’t think it’s functioning properly still. When using the site with a screen reader, I can select the “Skip to main content”. When I hit enter, it moves down too far. It also doesn’t move focus, so when you move to the next content it just jumps to the header image.
Forum: Themes and Templates
In reply to: [Virtue] Skip to main content?I can confirm that after the update, I can remove my temporary code and everything works as it should. Thanks for the quick update!
Forum: Themes and Templates
In reply to: [Virtue] Skip to main content?As a temporary solution, you can make a child theme or edit the virtue functions.php (assuming that this will be fixed with the next update) and add this code:
add_action('wp_loaded', 'move_kt_skip_link'); function move_kt_skip_link() { remove_action('get_header', 'virtue_skip_link', 1); add_action('virtue_after_body', 'virtue_skip_link', 1); }Edit: To clarify, this will move this link to where it is supposed to be (right after the body tag). It shouldn’t be visible as it is set to zero height, but allows screen reader users to skip all the navigation stuff easily.
- This reply was modified 8 years, 11 months ago by bkirkland.
Forum: Themes and Templates
In reply to: [Virtue] Skip to main content?Seeing this issue as well. Causing weird issues in Chrome. Currently trying to work out how to stop it…