Re: ARIA's role="" attribute (was Re: [Bug 7509] Consider <dl type="dialog"> instead of <dialog>)

On Wed, Sep 9, 2009 at 6:02 PM, Leif Halvard Silli
<xn--mlform-iua@xn--mlform-iua.no> wrote:
>> Microdata or the class="" attribute can both be used to annotate HTML
>> elements with more specific semantics than their native semantics
>> provide.
>
> If - say - AT software is supposed to recognize something as a dialog, then
> neither of those a likely to be enough.

I'm personally not at all a fan of using class to add semantics. I
think the class attribute namespace should belong to authors. That is
why I was arguing for the removal of predefined class values back when
they were in the HTML5 drafts.

However I don't see why something like a microformat or RDFa wouldn't
be an acceptable way to expose something to AT software. Once that
microformat or RDFa vocabulary has become popular enough that it gains
some sort of critical mass that is.

/ Jonas

Received on Thursday, 10 September 2009 05:16:24 UTC