W3C home > Mailing lists > Public > public-aria@w3.org > March 2016

RE: accessible name calculation chains

From: Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>
Date: Mon, 7 Mar 2016 16:44:40 +0000
To: Fred Esch <fesch@us.ibm.com>, ARIA <public-aria@w3.org>
Message-ID: <SN1PR0301MB1981905262A8FA3CF191AF6898B10@SN1PR0301MB1981.namprd03.prod.outlook.com>
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




image001.png
(image/png attachment: image001.png)

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:22 UTC