W3C home > Mailing lists > Public > public-pfwg@w3.org > January 2014

Re: Proposal for New ARIA Roles for SVG Information Graphics (agenda+)

From: lisa.seeman <lisa.seeman@zoho.com>
Date: Tue, 28 Jan 2014 17:34:43 +0200
To: Doug Schepers <schepers@w3.org>
Cc: Richard Schwerdtfeger <schwer@us.ibm.com>, Judy Brewer <jbrewer@w3.org>, Philippe Le Hegaret <plh@w3.org>, Gerardo Capiel <gerardoc@benetech.org>, public-pfwg <public-pfwg@w3.org>
Message-Id: <143d9728a85.-2922644324101172662.-4094623830969067611@zoho.com>
Hi Doug

I would be happy to hear you ideas if you think it would help. If  you want to chat on Skype , my handler is lisaseeman. 

My two cents would be that we should make the ARIA coverage of the concepts as thorougher as possible - even  if the syntax exisits already in SVG. People can use the native SVG, but ARIA would be complete, and that would be useful if some other platform needed it.

All the best

Lisa Seeman

Athena ICT Accessibility Projects 
LinkedIn, Twitter





---- On Fri, 24 Jan 2014 10:16:09 +0200 Doug Schepers&lt;schepers@w3.org&gt; wrote ---- 


Hi, Lisa– 
 
Actually, I have a proposal (and script library) for native graphs in 
SVG, called SVG Connectors [1]. That way, graphs wouldn't need ARIA; if 
graphs were native constructions in SVG, both visually and "logically", 
they would have the benefit of being accessible without so much extra 
authoring effort. I have to carve out some time (at least a couple 
weeks) to revise this spec and make it more rigorous and detailed, but 
the SVG WG has tentatively accepted it as a deliverable already. 
 
About the aim being higher, this is what I was cautioning about. I've 
thought pretty deeply about this for a few years, and I agree that there 
are some simple ways to categorize most charts, but I want to start from 
clear use cases, like the ones we had for the sonifier. 
 
I'd love to talk to you more about this at your convenience. 
 
[1] http://dev.w3.org/SVG/modules/connector/SVGConnector.html 
 
Regards- 
-Doug 
 
 
On 1/24/14 2:40 AM, lisa.seeman wrote: 
&gt; Hi Doug 
&gt; This is very interesting. I think some of these would be properties not 
&gt; roles. I feel that the aim should be higher - to make machine 
&gt; processable/ understandable graphs and charts. and the value for apps 
&gt; would be huge. 
&gt; 
&gt; My initial suggestion for roles for this type of graphs and charts is: 
&gt; 
&gt; 1. node (vertex in graph theory ) 
&gt; 2. line (or we could call it connection or data-line /- edge / in graph 
&gt; theory/, /but let us worry what to call it if we like the concepts) 
&gt; 
&gt; A group role of graph would also be good -( possibly also a child of 
&gt; figure - but we havent come to it yet) that might be what you inteded 
&gt; as chart area. A graph must contain nodes and/or lines. 
&gt; 
&gt; Nodes could support your properties 
&gt; * property x-y pair : x-value, y-value (possibly suport 4 pairs if 
&gt; nodes can be bigger then a dot) In a pie chart the sections could be 
&gt; nodes and they would have a simple value . 
&gt; 
&gt; Lines could connect two nodes or have a start x y pair and an end x y 
&gt; pair. (need to work on the semantics) 
&gt; 
&gt; A graph could support properties of 
&gt; * property : x-axis - what is the denomination of the x axis such as 
&gt; mm rainfall or thousands of Yen (possibly deliminated list , possibly 
&gt; associated with value pairs -see bellow) 
&gt; * property : y-axis - as above 
&gt; 
&gt; Most importantly we need to support symbol value pairs or classes and 
&gt; work that into the model. 
&gt; For example we need to be able to say blue represents the northern 
&gt; train line (on an edge) or squares represent stations with escalators 
&gt; (for a node) or pink represents 2002 values and blue represents 2006 
&gt; values. 
&gt; 
&gt; If we agree let me know and I will start thinking of the semantics for 
&gt; it. It will work better of we know if we are alowing extedability, 
&gt; becuse then a square node would simply be a type of node with label of 
&gt; "stations with escalators" 
&gt; 
&gt; All the best 
&gt; 
&gt; Lisa Seeman 
&gt; 
&gt; Athena ICT Accessibility Projects 
&gt; &lt;http://accessibility.athena-ict.com/default.shtml&gt; 
&gt; LinkedIn &lt;http://il.linkedin.com/in/lisaseeman/&gt;, Twitter 
&gt; &lt;https://twitter.com/SeemanLisa&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ---- On Fri, 24 Jan 2014 07:45:30 +0200 *Doug Schepers&lt;schepers@w3.org&gt;* 
&gt; wrote ---- 
&gt; 
&gt; Hi, Janina, Rich– 
&gt; 
&gt; Judy informed me today that you are at the PFWG f2f, gathering use 
&gt; cases 
&gt; and requirements for the future of ARIA beyond ARIA 1.0. 
&gt; 
&gt; I'd like to make sure that you are aware of a use case that we have for 
&gt; SVG around accessible information graphics. (I don't know the proper 
&gt; list, so forgive me if this isn't the right one.) 
&gt; 
&gt; Basically, to allow scripts (or even accessibility UAs) to be able to 
&gt; interpret charts and graphs, we need to be able to mark up specific 
&gt; elements with descriptive roles. 
&gt; 
&gt; This could go off the rails if we're not careful, because it will be 
&gt; new 
&gt; work, not something that mirrors existing OS-level accessibility APIs; 
&gt; so, we need to be moderate and spare in what new roles and states we 
&gt; define, especially at first. 
&gt; 
&gt; The specific case we've explored this for is a sonifier app [1][2][3] 
&gt; that I worked on with Benetech, which takes an SVG line chart as input 
&gt; and uses the Web Audio API to generate a tone that rises and falls 
&gt; based 
&gt; on the position of a cursor on the line. In order to get the 
&gt; sonifier to 
&gt; work, I had to manually configure it to detect hardcoded elements from 
&gt; known output, based on their element type and position in the DOM; this 
&gt; is too brittle to work on any other output. 
&gt; 
&gt; So, I'm proposing the following roles, based on this use case; some of 
&gt; them can be generalized to other charts, as well: 
&gt; 
&gt; * role: x-axis 
&gt; * role: y-axis 
&gt; * role: data-line 
&gt; * role: chart-area (?) 
&gt; * role: chart-width (?) 
&gt; * role: chart-height (?) 
&gt; 
&gt; The latter 3 are subject to discussion; we need to know the extent 
&gt; of of 
&gt; the width and height of the chart, and this could easily be determined 
&gt; by a &lt;rect&gt; or &lt;path&gt; element that is given the role of "chart-area", 
&gt; but we need to determine if we want to require that having such an 
&gt; element is required for making the chart accessible, or if we could get 
&gt; the width and height some other way; I think &lt;rect 
&gt; role="chart-area"&gt; is 
&gt; the easiest approach, but I'm open to other ideas. 
&gt; 
&gt; Rich knows about this from discussions he and Gerardo and I have 
&gt; had, at 
&gt; the SVG f2f at TPAC. We will write this up in a more formal way in the 
&gt; coming weeks, but I wanted to be timely about reporting it, in case 
&gt; Rich 
&gt; didn't raise the issue. 
&gt; 
&gt; I'm happy to dial into a telcon to discuss this if you have time on 
&gt; your 
&gt; agenda. 
&gt; 
&gt; [1] http://svg-sonifier.com/index.svg 
&gt; [2] https://github.com/benetech/SVG-Sonifier 
&gt; [3] https://github.com/shepazu/SVG-Sonifier 
&gt; 
&gt; Regards- 
&gt; -Doug 
&gt; 
&gt; 
 
 
 
Received on Tuesday, 28 January 2014 15:37:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:44:59 UTC