On 3 Apr 2009, at 22:22, Peter Krantz wrote:
Landmark roles are specified with the role attribute in HTML. In order to keep the template markup valid (when testing with the W3C markup validation service) this patch adds landmark role data with a small javascript after the page hasloaded.
I reckon validation is a tool to assist in the development of web pages, not a rod to beat you with if, for some reason, you decide to use some feature that doesn't validate to a current standard.
I.e., if its worth putting in the role attribute, it should be put in the XHTML directly.
- Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist