]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/generate_HTML5_by_default.mdwn
alternative plan
[ikiwiki.git] / doc / todo / generate_HTML5_by_default.mdwn
index 3adce8c901d14a2f61a58599afccf78395417efd..59726bf04b9e3ebecdc2029ff7e4fd808aaa2b8c 100644 (file)
@@ -31,3 +31,12 @@ Options include:
 Thoughts?
 
 --[[smcv]]
+
+> Another possibility would be to change the doctype to `<!DOCTYPE html>`
+> unconditionally, stop trying to limit ourselves to XHTML 1.0 Strict
+> (use HTML5 features that degrade gracefully, like
+> [[ARIA roles|todo/add aria landmarks to make ikiwiki websites more accessible]]),
+> but avoid using the new elements like `<section>` that require specific
+> browser support unless `html5` is set to 1. That would get rid of the
+> backwards-compatibility concerns while keeping the ability to use
+> post-2000 markup. --[[smcv]]