It would be fantastic if it would validate:
http://validator.w3.org/check?uri=http%3A%2F%2Farthemia.theraggedyedge.c...

I seem to be having only this on my site though from the errors listed by the validator:


#  Error  Line 54, Column 48: syntax of attribute value does not conform to declared value

…="image" name="" value="Search" id=""  class="form-submit" src="/sites/all/th

✉

The value of an attribute contained something that is not allowed by the specified syntax for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; the variant “selected=""” is not allowed.


Comments

nf1’s picture

Version: 6.x-1.x-dev » 6.x-2.0
Status: Active » Needs review

Here's a solution for this:

Open template.php and go to line 98. Change

  $vars['form']['submit'] = array('#type' => 'image_button', '#value' => t('Search'), 

to

  $vars['form']['submit'] = array('#type' => 'image_button', '#value' => t('Search'), '#id' => 'search-icon-button',

This will validate the search button by adding the required id for the image button. XHTML specifies that it can't be left blank. It works for me, hopefully others will review and test as well. I'm using the 6.x.2.0 branch but probably it's same in the others.