Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-RC1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Failure to comply to XHTML usually results in strange browser behaviour and CSS issues.
The Firefox HTML Validator (http://users.skynet.be/mgueury/mozilla/download.html) can be used to check most of the failures. There are a few that I think we can ignore, such as:
- not adding "alt" attribute to images
- the xmlns:wicket="http://wicket.apache.org/" declaration
but just on the home page the tool spots two unclosed input elements and a div inside an <a> element (that should not be there).
There is also a validator in Wicket-stuff that can be used for the purpose in an automated fashion:
http://github.com/dashorst/wicket-stuff-markup-validator/tree/master
The following link may be helpful in dealing with this:
http://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html