
Tagged: accessibility
-
AuthorPosts
-
February 24, 2025 at 6:11 am #1477738
Dear Mike,
i followed your instruction to make my staging-site accessible: https://kriesi.at/support/topic/accessibility-5/
i installed the plugin WP Accessibility
But my tab-navigation doesn´t work. It doesn’t skip through the menu or the content. It just skips between the url-bar and the search-icon.What am i doing wrong?
Thanks for any help!
dondelaFebruary 24, 2025 at 6:28 am #1477742Hey dondela,
Thank you for the inquiry.
You have to replace the anchor #content with #main or the ID of the section it should skip to when accessed. To apply the ID “content” to the first Color Section containing the content, go to Advanced > Developer Settings and enter the ID in the Custom ID field.
Best regards,
IsmaelFebruary 24, 2025 at 7:09 am #1477745Hey and thanks for your help!
i replaced the anchor #content with #main but still i can´t skip through the navigation and the content with the tab-key? Do you know what could be wrong?I also tried the other recommended plugin “Ally”. Here i cannot manage to go to the settings page. The welcome screen is blocking the settings page – Please see the screenshot)
February 24, 2025 at 7:37 am #1477748Hi,
Do you press “Space” once you get to the “skip-to-content” link or button? Please check the screenshot below:
We also added the tabindex=”0″ attribute to the skip links to give priority to them in the tab order.
function ava_custom_script() { ?> <script type="text/javascript"> (function ($) { document.addEventListener("DOMContentLoaded", function () { document.querySelectorAll("#skiplinks a").forEach(link => { link.setAttribute("tabindex", "0"); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script', 9999);
Best regards,
IsmaelFebruary 24, 2025 at 8:07 am #1477753Thank you Ismael, now it works!
Great support like always :-)February 24, 2025 at 4:59 pm #1477797Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘WP Accessibility’ is closed to new replies.