- This topic has 10 replies, 5 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
December 19, 2022 at 4:08 am #2466755
Ravishankar
I got a error from pageinsight. Like (ARIA IDs are not unique) on my website – gyanitechinfo.com So Please fix this issue.
December 19, 2022 at 5:06 am #2466821David
StaffCustomer SupportHi there,
the only ARIA warning i see is this:
[aria-*] attributes do not match their rolesAnd 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' ); } });December 19, 2022 at 5:51 am #2466883Ravishankar
Where I have to add this code?
December 19, 2022 at 8:46 am #2467200Stephan
Into the function.php of your child theme. Or you have to install a Plugin which allows inserting Code-Snippets.
December 19, 2022 at 12:43 pm #2467420Ying
StaffCustomer SupportHi 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 🙂
December 20, 2022 at 11:34 pm #2468973Ravishankar
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/
December 20, 2022 at 11:45 pm #2468979Fernando 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.
December 20, 2022 at 11:50 pm #2468986Ravishankar
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
December 20, 2022 at 11:55 pm #2468987Fernando 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.
December 23, 2022 at 3:10 am #2471346Ravishankar
I have created a new topic, but there is no response?
December 23, 2022 at 4:25 am #2471419David
StaffCustomer SupportI have replied, to the other topic.
-
AuthorPosts
- You must be logged in to reply to this topic.