W3C home > Mailing lists > Public > public-html@w3.org > May 2013

ARIA in HTML: clarify when ARIA attributes can be written in markup

From: Jukka K. Korpela <jukka.k.korpela@kolumbus.fi>
Date: Tue, 28 May 2013 21:07:28 +0300
Message-ID: <51A4F260.5060804@kolumbus.fi>
To: public-html@w3.org
The document "Using WAI-ARIA in HTML"
http://www.w3.org/TR/aria-in-html/
says in clause2.5 (Add ARIA inline or via script?) that ARIA attributes 
should be added via scripting, not as "inline" (as attributes in HTML 
tags), except when
a) the attribute "does not rely on scripting to provide interaction 
behaviour" or
b) "the content and interaction is only supported in a scripting enabled 
browsing context",
in which cases "it is safe" to include them inline.

This looks rather mysterious: what would constitute use that does not 
fall into either of these categories? If an ARIA attribute expresses a 
relationship that is independent of scripting, a) applues. If it 
expresses a relationship created by scripting, b) applies.

Does the clause mean that some cases might be interpreted so that an 
ARIA attribute could be independent of scripting but actually isn't?

Please provide some example(s) of cases a) and b) and especially other 
cases.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/
Received on Tuesday, 28 May 2013 18:07:54 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:02 UTC