Active
Project:
Media: YouTube
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2010 at 17:06 UTC
Updated:
1 Dec 2010 at 04:15 UTC
I tried to validate my site using the W3 validator: http://validator.w3.org/
It says that id and name attributes must begin with a letter, not a digit.
I found the file that's outputting the code here: sites/all/modules/media_youtube/themes/media-youtube-flash.tpl.php.
print $classes; "> print $output;
I don't know how to change the code to make the id attribute begin with a letter. But just wanted to put it here for review in case someone else does. I try to keep all of my sites XHTML 1.0 Strict because it's good practice for SEO.
Thanks again for a good YouTube embed module and many thanks in advance for any tips you might have on how to fix this issue.
Comments
Comment #1
spangaroo commentedHere's the full code showing the id/class mentioned above:
Comment #2
spangaroo commentedMight anyone have any feedback on this?
I do think it would be a good improvement for everyone.