Site logo

[Support request] ARIA IDs are not unique

Home Forums Support [Support request] ARIA IDs are not unique

Home Forums Support ARIA IDs are not unique

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2471348
    Ravishankar

    I have updated your given code on the website.
    I have followed the guide you provided.
    Hi there,

    the only ARIA warning I see is this: [aria-*] attributes do not match their roles

    And that happens if you output no footer meta on your archives.

    Add this PHP Snippet to your site to remove the element and that warning.

    add_action( ‘wp’, function() {
    if(is_home() || is_archive() || is_search()){
    remove_action( ‘generate_after_entry_content’, ‘generate_footer_meta’ );
    }
    });

    But still the problem is not solved. So, please help.

    #2471351
    Ravishankar

    My website url :- gyanitechinfo.com

    #2471403
    David
    Staff
    Customer Support

    Hi there,

    i tested your site, and the only issue is this:

    ARIA IDs are not unique

    Failing Elements

    body.post-template-default > nav#mobile-header > div.inside-navigation > div#mobile-menu
    <div id="mobile-menu" class="main-nav">
    Computer Make Money MS Excel MS Word WIKI
    <div id="mobile-menu" class="main-nav">

    The second element is because of the Sticky Navigation, the HTML from that element is only output if when the navigation is sticky, and its not visible or useable, its simply a placeholder.

    You can either:

    1. ignore it – as it is not an issue
    2. switch of the Sticky Navigation.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.