Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!
    dondela

    #1477742

    Hey 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,
    Ismael

    #1477745

    Hey 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)

    #1477748

    Hi,

    Do you press “Space” once you get to the “skip-to-content” link or button? Please check the screenshot below:

    View post on imgur.com

    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,
    Ismael

    #1477753

    Thank you Ismael, now it works!
    Great support like always :-)

    #1477797

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘WP Accessibility’ is closed to new replies.