- This topic has 25 replies, 2 voices, and was last updated 6 years ago by Tom.
-
AuthorPosts
-
February 26, 2018 at 2:32 am #505736Harris
Hello
We are getting some errors in w3.org validation that I suspect might be theme (menu) related.
Can you please have a look as the site is subsidized by a EU program and there is a term saying that it must produce 0 errors in the w3 validator?Thanks
February 26, 2018 at 10:10 am #506134TomLead DeveloperLead DeveloperHi there,
This is an issue in the theme currently:
An element with the attribute tabindex must not appear as a descendant of the a element.
It will be fixed in the next version π
February 26, 2018 at 11:23 am #506184HarrisSo I guess the rest might be WP or elementor issues?
February 27, 2018 at 8:50 am #507088TomLead DeveloperLead DeveloperYes, the majority of those are WP and Elementor.
There’s also some duplicate IDs you’ve added within your content etc..
February 27, 2018 at 9:38 am #507137HarrisThanks Tom!
February 27, 2018 at 8:45 pm #507497TomLead DeveloperLead DeveloperNo problem π
March 16, 2018 at 11:50 am #521856HarrisHello Tom,
I cleared all other errors. Is there any way to bypass (even temporarily) the “An element with the attribute tabindex must not appear as a descendant of the a element.” error so I can give the site for accessibility check (check is passed with 0 errors on W3 validator).
Will installing the latest beta version help?
Thanks
HarrisMarch 16, 2018 at 9:49 pm #522123TomLead DeveloperLead DeveloperNot currently, we’re hoping to get those fixed ASAP.
March 17, 2018 at 1:02 am #522167HarrisSome questions on the issue in order to check the available options as there is a strickt time limit regarding the accessibility check on that:
Will it be on the next GP or on the next GPP update? Any estimation when it will be out?
Will this be bypassed if I disable navigation and add one from Elementor?
Can you please confirm the theme file involved so I can give a try to make a temp fix?
Is it generatepress\inc\structure\navigation.phpMarch 17, 2018 at 11:08 am #522489TomLead DeveloperLead DeveloperAiming for the next GP update. This shouldn’t affect accessibility at all, it’s just an HTML validation warning. It will have no negative effects on your website.
You can try building one with Elementor, but there’s no promises there that their navigation is keyboard accessible.
Yes, the code is in that file.
March 17, 2018 at 11:16 am #522497HarrisHello Tom,
I know that it has no negative affects on the site and that it won’t affect accessibility, but it gives an error (not just a warning) in W3.org validator, and the terms clearly say “0 errors at W3 validator”.
I know its weird, I know it doesn’t make much sence, but thats how it is.It’s not me making the rules π
If they see an error they will just reject it, without looking any further, no matter what.
Any estimation on when the next GP update is comming so I can see if its worth rebuilding the menus or messing up with the theme files?
by the way… is that “error” related with a certain feature of the navigation that I can disable?
Thanks
March 17, 2018 at 9:04 pm #522755TomLead DeveloperLead DeveloperThe “error” is being caused by some accessibility code we added in 2.0 to make the navigation tab-friendly.
There’s no set date for the update yet – it should be before the end of the month.
March 18, 2018 at 12:34 am #522807HarrisDoes that mean that if I “downgrade” to a verion <2.0 the “error” will clear?
March 18, 2018 at 9:40 am #523113TomLead DeveloperLead DeveloperYes, however that’s not recommended at all, as some database options were migrated in 2.0.
March 18, 2018 at 10:17 am #523132HarrisCan I just replace the navigation.php file of the latest version with the older one?
Reminding that I am just looking for a temp solution to bypass the test.
I will replace things as needed after that.
-
AuthorPosts
- You must be logged in to reply to this topic.