Title: Plugin giving a w3c validator error
Last modified: October 16, 2021

---

# Plugin giving a w3c validator error

 *  Resolved [frza45](https://wordpress.org/support/users/frza45/)
 * (@frza45)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-giving-a-w3c-validator-error/)
 * Hello. So I am happily using the wp-mobile menu and it seems to be working. One
   problem: when I go to validate the site with the [https://validator.w3.org/](https://validator.w3.org/)
   I get this error:
 * Error: Bad value navigation for attribute role on element ul.
 * From line 213, column 40; to line 213, column 127
 * ontainer”><ul id=”mobmenuright” role=”navigation” aria-label=”Main navigation
   for mobile devices”><li c
 * I cannot find the code referred to anywhere in my code. I am sure it is this 
   plugin and it must be being generated at the time the site is called.
 * Any help with this would be greatly appreciated!
 * (I have a picture of the error on the validator site but not sure if I can upload
   it here)
 * Thanks!
    -  This topic was modified 4 years, 7 months ago by [frza45](https://wordpress.org/support/users/frza45/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-giving-a-w3c-validator-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-giving-a-w3c-validator-error/#post-15009314)
 * Hi [@frza45](https://wordpress.org/support/users/frza45/),
 * Sorry for the delay. Made some changes, can you try this modified version in 
   the link below?
    [https://www.dropbox.com/s/wbvhqqj9ivh2wp2/mobile-menu%205.zip?dl=0](https://www.dropbox.com/s/wbvhqqj9ivh2wp2/mobile-menu%205.zip?dl=0)
 * Upload it like a normal plugin, it will ask you to relace the current WP Mobile
   Menu (say yes).
 * Let me know the result.
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-giving-a-w3c-validator-error/#post-15072930)
 * Will close the topic for now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin giving a w3c validator error’ is closed to new replies.

 * ![](https://ps.w.org/mobile-menu/assets/icon-128x128.png?rev=1890426)
 * [WP Mobile Menu - The Mobile-Friendly Responsive Menu](https://wordpress.org/plugins/mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-menu/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/plugin-giving-a-w3c-validator-error/#post-15072930)
 * Status: resolved