Validation Issues
-
I have really hesitated to write this, but I am puzzled why I am having trouble validating the code for my sidebar. It’s not just that I do not know what I am doing (and am learning as I go); I wouldn’t bother anyone if I thought I had a reasonable chance of stumbling through. But I cannot figure out why the Journal Search and headings in the template’s sidebar validate and mine do not. I finally took out the Search widget just to have one less error. So, if someone is really bored the can take a look at likeashepherd.wordpress.com and probably see some glaringly obvious problem with the code.
-
Need to know which validator you’re using as well as which page you’re validating on. (I’m sure you’re doing the home page but just to make sure.) Not all validators are equal. :)
-
That would be http://likeashepherd.wordpress.com/ and http://validator.w3.org/. I really have got to get another avatar.
-
Well, I was able to reduce the errors significantly by getting rid of sidebar widgets. That doesn’t seem like it should be the solution. And the remaining errors seem beyond my ability to even get at.
-
Here’s an example. I have an error because of the “>”that appears after snap_preview” in “<li id=”linkcat-1066956″ class=”linkcat snap_preview”><h3>Benign Amusement</h3>”, but all I did was create the category “Benign Amusement”; I didn’t have any control over the other. Sigh. The same is true with my “Christianity, Islamicity,” and “Site Meter” categories.
-
I find a lot of pages show just fine, even if they fail some validation points. The validation is simply an “industry best practice” and is intended to guarantee it’ll render fine in any browser. I’ve found trying to get a perfect page validated is more hassle than it’s worth, as long as I test it in a few browsers and work with good coding practice, the validation part is optional. There’s also a limit to the code we can change while hosted here, most is locked to us, for security reasons…and code (usually for scripting) we try to insert is (in most cases) stripped for the same security reasons.
-
I think there are currently some widgets which don’t validate It’s code we users can’t get to. The links widget currently adds something like 9 validation errors for me. Activating the drop down function in archives and categories creates another 2 or 3 errors. I was error free a few months ago, so sent in a feedback about this recently, just so support would know, which they probably did already anyway. I think the current errors are probably of little consequence. The only reason I like to be error free is so that then I *know* I don’t have any errors of consequence.
-
-
Do what growth suggests and send in a feedback with specifics if you are able to. That way staff knows that there is an issue with specific widgets and theme combos.
For reference, you can code specific widgets for specifc themes if it’s an issue. I think it’s Blix that has this already as an example.
-
- The topic ‘Validation Issues’ is closed to new replies.