The context of these suggestions is Notes Rich-Text in document, forms and pages. XPages are not considered in this text.
We need to be able to produce valid HTML5 with Domino Forms, Views, Pages and so on. Please make valid HTML5 a success criteria!
The default doctype should be changed to HTML5's
<!DOCTYPE html>, but still override-able in
type attributes, from the
script tag generated for form, subform and page JS headers. They are no longer required.
Given that CSS is responsible for the layout and look & feel, Domino must stop rendering HTML with presentational markup.
vlink attributes on the
type attribute on
ol tags, rendered from Notes Rich-text.
Mark up buttons as
button tags. No more
<input type="submit"> nor
<input type="button">. This makes styling easier and makes semantic sense.
Remove table attributes:
border="0" cellspacing="0" cellpadding="0", it is up to the application developer to make the CSS.
Leave empty table cells empty. No more
<img width="1" height="1" src="/icons/ecblank.gif" border="0" alt="">.
hr tag should no longer generate
align attributes. A simple
<hr> will do.
Indented RichText is rendered as a
ul tag, but without any
li tags inside, which is invalid. It would make more sense to mark it up with
This bug also exist inside nested lists, if the list items have a too big left margin.
All these changes will reduce the number of errors and warnings, when validating Dominos HTML output, on
W3C's HTML validator.
It saddens me to see this forum doesn't even have a web-server category, for suggestions.