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

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