Re: @role in SVG

On Thu, 04 Oct 2007 19:44:42 +0200, Doug Schepers <schepers@w3.org> wrote:

> Hi, Simon-
>
> Simon Pieters wrote (on 10/4/2007 1:19 PM):
>>  I've updated the spec and the test cases to remove support for  
>> html:role altogether and add support for role="" and aria-foo="" on SVG  
>> elements.
>>     http://simon.html5.org/specs/aria-proposal
>>    http://simon.html5.org/test/aria/
>>  At some point perhaps the aaa:foo="" attributes can be removed as well.
>
> We haven't yet talked about it in the SVG WG, so I don't want to commit  
> to anything specific.  But we do want to make it work, and our ears are  
> open.

Ok.


> I see it as a goal that role would work in SVG in as similar a manner as  
> possible to (X)HTML; this includes syntax, for ease of authoring.  At  
> the same time, there are several details that would need to be worked  
> out, not the least of which is that SVG and HTML5 have very different  
> approaches to namespaces.

Ok. The current proposal is to have the syntax:

    <div role="checkbox" aria-checked="true">

...in HTML.


> Can you tell me how your document relates to the XHTML2 WG's Role  
> Attribute Module [1]?

I don't really understand that specification. So I can't comment on how  
they are related.


> That spec states, "If the host language does not incorporate the XHTML  
> Role Attribute Module attribute into its own namespace, the document  
> MUST contain an xmlns declaration for the XHTML Role Attribute Module  
> namespace."

It does. I'm not sure I understand what it implies.


> Also, are you planning to support the idea of Compact URIs [3], or do  
> you deal with that in some other way?

It's not clear to me what CURIEs are supposed to solve.


> Note that I'm not trying to be political here, and that I what I value  
> most is getting this functionality working in SVG (and HTML), but we  
> need to know everything that's on the table, and to be respectful of the  
> hard work that everyone has done here.

Yes, makes sense.


> (Note, for those readers not familiar with ARIA, please read [3] and [4]  
> for background.)
>
> [1] http://www.w3.org/TR/xhtml-role/
> [2] http://www.w3.org/MarkUp/2007/ED-xhtml-role-20070905/#sec_3.1.
> [3] http://www.w3.org/TR/aria-role/
> [4]  
> http://developer.mozilla.org/en/docs/ARIA:_Accessible_Rich_Internet_Applications/Relationship_to_HTML_FAQ

-- 
Simon Pieters
Opera Software

Received on Thursday, 4 October 2007 18:22:57 UTC