[whatwg] Dynamic content accessibility in HTML today

juanrgonzaleza at canonicalscience.com juanrgonzaleza at canonicalscience.com
Thu Aug 17 02:11:17 PDT 2006

James Graham said:
> Of course, if you plan to put all the semantics of a document in the
> class names, we could do away with many elements. Do you object to <div
> class="h1"> as a replacement for <h1>?

I am reading this thread with interest but i have nothing serious to say.

However, i would ask what are your comments about introduction of
'semantics' into a class (or better a role) attribute.

Today, big trouble with XML and future semantic web is that both browsers
and search engines do not understand much more beyond HTML <h1>,
<blockquote>, <em> and so on.

You can serve a XML document with <my-favourite-tag> that are not
understood beyond my specific software generating it.

Would something like

<div class="my-favourite-tag">


<div role="my-favourite-tag">

help to develop search engines and browsers?

Juan R.


More information about the whatwg mailing list