- From: Fred Esch <fesch@us.ibm.com>
- Date: Fri, 4 Mar 2016 11:13:40 -0500
- To: Joanmarie Diggs <jdiggs@igalia.com>
- Cc: "SVG-A11y TF" <public-svg-a11y@w3.org>
- Message-Id: <201603041621.u24GL9B5026660@d01av05.pok.ibm.com>
Joanie, That calculation is done based on the core AAC below, emphasis is mine. 4.3 Text Alternative Computation Text alternatives are built up, when appropriate, from all the relevant content contained within an element. This is accomplished via steps 2B and 2F, which are recursive, using the full set of rules to retrieve text from its own children or nodes it references. Reasoning is inline below. If my interpretation is wrong, please let me know. If it is unclear what should happen please mention this and we can bring it up as an agenda item. Regards, Fred Esch Watson, IBM, W3C Accessibility IBM Watson Watson Release Management and Quality From: Joanmarie Diggs <jdiggs@igalia.com> To: Fred Esch/Arlington/IBM@IBMUS Date: 03/03/2016 05:09 PM Subject: Re: svg accessibility tests Hey Fred. Thanks! I'll exchange Layout Tests and results with you soon. :) In the meantime, please refresh my memory regarding what happened with the recursive labelledby/describedby. Shouldn't this test: // two valid idrefs, one with an aria-label, one with aria-labelledby if given <circle id="test" aria-labelledby="t1 t2" cx='50' cy='100' r='15'/> <text id="t1" x="40" y="90"aria-label="big">the</text> <text id="t2" x="140" y="90" aria-labelledby='t3'>end</text> <text id="t3"x="180" y="90">finish</text> then accessible name = "big finish" have accessible name of "big end"? the element with id t1 would contribute big the element with id t2 would contribute finish because of the aria-labeledby. thus element with id test has an accessible name of big finish (big + ' ' + finish) And this one: // two valid idrefs, one with aria-describedby if given <circle id="test" aria-describedby="t1 t2" cx='50' cy='100' r='15'/> <text id="t1" x="40" y="90">the</text> <text id="t2" x="140" y="90" aria-describedby='t3'>end</text> <text id="t3" x="180" y="90">finish</text> then accessible description = "the finish" have accessible description of "the end"? the element with id t1 would contribute the the element with id t2 would contribute finish because of the aria-describedby based on rule 2B* thus element with id test has an accessible description of big finish (big + ' ' + finish) * rule 2B or, if computing a description, and the current node has a non-empty aria-describedby attribute, and the current node is not already part of an aria-describedby traversal, process its IDREFs in the order they occur: On 03/03/2016 03:47 PM, Fred Esch wrote: > Joanie, > > I've attached a zip with the test files and database files which are > JSON. As you can see I put in logic to handle AXAPI names for our tests. > /(See attached file: test.zip)/ > > Regards, > > Fred Esch > Watson, IBM, W3C Accessibility > IBM Watson Watson Release Management and Quality > > > --1__ BBF5FFDFC55B868f9e8a93df938690918c0ABBF5FFDFC55B86 Content-Transfer-Encoding: quoted-printable Content-type: text/html; charset=US-ASCII Content-Disposition: inline <html><body><p>Joanie,<br><br>That calculation is done based on the core AAC below, emphasis is mine.<br><br><a href="http://rawgit.com/w3c/aria/master/accname-aam/accname-aam.html#mapping_additional_nd_te"><font size="4">4.3 Text Alternative Computation</font></a><font size="4"> </font><br><br><font size="4">Text alternatives are built up, when appropriate, from all the relevant content contained within an element. This is accomplished via steps 2B and 2F, which are recursive, </font><b><font size="4" color="#FF0000">using the full set of rules</font></b><font size="4"> to retrieve text from its own children or nodes it references. </font><br><br>Reasoning is inline below. If my interpretation is wrong, please let me know. If it is unclear what should happen please mention this and we can bring it up as an agenda item. <br><br><br><br> <table border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="473" colspan="2" valign="middle"><div align="center"><font size="4" face="Verdana">Regards, <br><br>Fred Esch <br>Watson, IBM, W3C Accessibility</font></div></td></tr> <tr valign="top"><td width="130" valign="middle"><img src="cid:1__=0ABBF5FFDFC55B868f9e8a93df938690918c0AB@" width="163" height="23" alt="IBM Watson" align="bottom"></td><td width="342" valign="middle"><font size="4" face="Verdana">Watson Release Management and Quality </font></td></tr></table><br><br><img width="16" height="16" src="cid:2__=0ABBF5FFDFC55B868f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Joanmarie Diggs ---03/03/2016 05:09:55 PM---Hey Fred. Thanks! I'll exchange Layout Tests and results "><font color="#424282">Joanmarie Diggs ---03/03/2016 05:09:55 PM---Hey Fred. Thanks! I'll exchange Layout Tests and results with you soon. :)</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Joanmarie Diggs <jdiggs@igalia.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">Fred Esch/Arlington/IBM@IBMUS</font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">03/03/2016 05:09 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: svg accessibility tests</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>Hey Fred.<br><br>Thanks! I'll exchange Layout Tests and results with you soon. :)<br><br>In the meantime, please refresh my memory regarding what happened with<br>the recursive labelledby/describedby. Shouldn't this test:<br><br>// two valid idrefs, one with an aria-label, one with aria-labelledby<br>if given<br> <circle id="test" aria-labelledby="t1 t2" cx='50' cy='100' r='15'/><br> <text id="t1" x="40" y="90"aria-label="big">the</text><br> <text id="t2" x="140" y="90" aria-labelledby='t3'>end</text><br> <text id="t3"x="180" y="90">finish</text><br>then accessible name = "big finish"<br><br>have accessible name of "big end"?</tt><br><br><tt><b><font color="#0000FF">the element with id t1 would contribute </font></b></tt><tt><b><i><font color="#0000FF">big</font></i></b></tt><tt><b><font color="#0000FF"> </font></b></tt><br><tt><b><font color="#0000FF">the element with id t2 would contribute </font></b></tt><tt><b><i><font color="#0000FF">finish</font></i></b></tt><tt><b><font color="#0000FF"> because of the aria-labeledby.</font></b></tt><br><tt><b><font color="#0000FF">thus element with id test has an accessible name of </font></b></tt><tt><b><i><font color="#0000FF">big finish</font></i></b></tt><tt><b><font color="#0000FF"> (big + ' ' + finish)<br></font></b></tt><tt><br><br>And this one:<br><br>// two valid idrefs, one with aria-describedby<br>if given<br> <circle id="test" aria-describedby="t1 t2" cx='50' cy='100' r='15'/><br> <text id="t1" x="40" y="90">the</text><br> <text id="t2" x="140" y="90" aria-describedby='t3'>end</text><br> <text id="t3" x="180" y="90">finish</text><br>then accessible description = "the finish"<br><br>have accessible description of "the end"?</tt><br><br><tt><b><font color="#0000FF">the element with id t1 would contribute </font></b></tt><tt><b><i><font color="#0000FF">the</font></i></b></tt><tt><b><font color="#0000FF"> </font></b></tt><br><tt><b><font color="#0000FF">the element with id t2 would contribute </font></b></tt><tt><b><i><font color="#0000FF">finish</font></i></b></tt><tt><b><font color="#0000FF"> because of the aria-describedby based on rule 2B*</font></b></tt><br><tt><b><font color="#0000FF">thus element with id test has an accessible description of </font></b></tt><tt><b><i><font color="#0000FF">big finish</font></i></b></tt><tt><b><font color="#0000FF"> (big + ' ' + finish)<br></font></b></tt><br><tt><b><font color="#0000FF">* rule 2B </font></b></tt><font size="4">or, if computing a </font><a href="http://rawgit.com/w3c/aria/master/accname-aam/accname-aam.html#dfn-accessible-description"><u><font size="4" color="#0000FF">description</font></u></a><font size="4">, and the </font><tt><font size="4">current node</font></tt><font size="4"> has a non-empty </font><tt><font size="4">aria-describedby</font></tt><font size="4"> </font><a href="http://rawgit.com/w3c/aria/master/accname-aam/accname-aam.html#dfn-attribute"><u><font size="4" color="#0000FF">attribute</font></u></a><font size="4">, and the </font><tt><font size="4">current node</font></tt><font size="4"> is not already part of an </font><tt><font size="4">aria-describedby</font></tt><font size="4"> traversal, process its IDREFs in the order they occur: </font><br><tt><br><br>On 03/03/2016 03:47 PM, Fred Esch wrote:<br>> Joanie,<br>> <br>> I've attached a zip with the test files and database files which are<br>> JSON. As you can see I put in logic to handle AXAPI names for our tests.<br>> /(See attached file: test.zip)/<br>> <br>> Regards,<br>> <br>> Fred Esch<br>> Watson, IBM, W3C Accessibility<br>> IBM Watson Watson Release Management and Quality<br>> <br>> <br>> <br><br></tt><br><br><BR> </body></html> --1__ BBF5FFDFC55B868f9e8a93df938690918c0ABBF5FFDFC55B86-- --0__ BBF5FFDFC55B868f9e8a93df938690918c0ABBF5FFDFC55B86 Content-type: image/gif; name="0F345126.gif" Content-Disposition: inline; filename="0F345126.gif" Content-ID: <1__ BBF5FFDFC55B868f9e8a93df938690918c0AB@> Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAKMAAAAXCAMAAABQ6Q/RAAADAFBMVEXIx8cxLS5MSUrW1dXx8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938690918c0ABBF5FFDFC55B86 Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <2__ BBF5FFDFC55B868f9e8a93df938690918c0AB@> Content-Transfer-Encoding: base64 R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7 --0__ BBF5FFDFC55B868f9e8a93df938690918c0ABBF5FFDFC55B86--
Received on Friday, 4 March 2016 16:26:04 UTC