RE: accessible name calculation chains

Hi Fred,
For the first:

<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>

In this case, for 'circle' the name is "big end" according to the naming algorithm.

For the second:

<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>

The description for 'circle' is "the end" according to the naming algorithm. There is no instance of aria-label to supersede the text "the" from being used in the second example where "big" was present previously.

In both cases, neither of the internal aria-labelledby nor aria-describedby attributes can be used to recursively be processed for 'circle', otherwise if you put the ID of 'test' in either one, it would cause an infinite loop to occur in the browser which may crash both browser and assistive technologies.

From: Fred Esch [mailto:fesch@us.ibm.com]
Sent: Monday, March 07, 2016 7:16 AM
To: ARIA <public-aria@w3.org>
Subject: accessible name calculation chains


I have a question on chains in accessible name calculation and accessible description calculation

   // 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>

What is correct accessible name big end or big finish?

   // 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>

What is the correct accessible description big end or big finish?



Regards,

Fred Esch
Watson, IBM, W3C Accessibility

[IBM Watson]

Watson Release Management and Quality

Received on Monday, 7 March 2016 16:45:19 UTC