The autocomplete attribute and web documents using XHTML: Difference between revisions

Jump to navigation Jump to search
m
Line 52: Line 52:
(N.B. This should work, but needs testing anyhow.)
(N.B. This should work, but needs testing anyhow.)


Remember however, that (properly) HTML used in this way must use a custom doctype, as described above. Indeed, following the example of XHTML accessibility roles, we could create an associated microformat ([http://microformats.org/wiki/introduction Microformats Wiki: Introduction to Microformats]) that would overload the <code>class</code> attribute. Accessibility uses "axs" as a delimiter to prevent namespace collision; we could use "fh". So we'd end up supporting:
Remember however, that (properly) HTML used in this way must use a custom doctype, as described above. Indeed, following the example of embedded XHTML accessibility roles ([http://www.w3.org/WAI/PF/adaptable/HTML4/embedding-20060318.html Embedding Accessibility Role and State Metadata in HTML Documents: Working Draft]), we could create an associated microformat ([http://microformats.org/wiki/introduction Microformats Wiki: Introduction to Microformats]) that would overload the <code>class</code> attribute. Accessibility uses "axs" as a delimiter to prevent namespace collision; we could use "fh". So we'd end up supporting:


<blockquote><code>class="some_css_class some_other_css_class fh disable_form_history"</code></blockquote>
<blockquote><code>class="some_css_class some_other_css_class fh disable_form_history"</code></blockquote>

Navigation menu