[dokuwiki] Re: [patch] WAI ARIA landmark roles for improved accessibility in default template

  • From: Christopher Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 4 Apr 2009 01:14:17 +0100


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 has
loaded.



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

Other related posts: