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 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2466755
    Ravishankar

    I got a error from pageinsight. Like (ARIA IDs are not unique) on my website – gyanitechinfo.com So Please fix this issue.

    #2466821
    David
    Staff
    Customer Support

    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' );
        }
    });
    #2466883
    Ravishankar

    Where I have to add this code?

    #2467200
    Stephan

    Into the function.php of your child theme. Or you have to install a Plugin which allows inserting Code-Snippets.

    #2467420
    Ying
    Staff
    Customer Support

    Hi Ravishankar,

    You can use one of the methods introduced here to add PHP code:
    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Hi Stephan,

    Thanks for helping 🙂

    #2468973
    Ravishankar

    I have added the code through the snippets plugin. But still, the problem is available. You can also check this url https://gyanitechinfo.com/gnm-full-form/

    #2468979
    Fernando
    Customer Support

    Hi Ravishankar,

    Can you open a new topic and share the link to the site in question there as well?

    Hope to hear from you soon.

    #2468986
    Ravishankar

    I don’t think so, Because this problem is related to this question. So I think that if I create a new topic then again follow the all steps and also I have to share the all information, that is already here

    #2468987
    Fernando
    Customer Support

    Though the question is the same, the issue came out differently here as explained by David: https://generatepress.com/forums/topic/aria-ids-are-not-unique-3/#post-2466821\

    As opposed to “ARIA IDs are not unique” it’s actually “[aria-*] attributes do not match their roles”.

    A new topic for a different issue that would likely need a different solution would be preferential for our Support team. Hope you understand.

    #2471346
    Ravishankar

    I have created a new topic, but there is no response?

    #2471419
    David
    Staff
    Customer Support

    I have replied, to the other topic.

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