RE: Accname question regarding self-references

"the self-reference is ignored because the root node has already been processed when it was also the ‘current node’."

To clarify, this has to do with the way that recursion works in the algorithm.

When the initial node is specified for computing its name, the “root node” and the “current node” are set to the same element. (The input) (There is no name at this point.)

When the algorithm encounters the aria-labelledby reference pointing to the span, the “current node” is set to the span element to perform the recursion process on that element and tunnel into it as needed by recursively calling itself on each node within that structure as needed. (The name is then set to the computed content of that span element)

Then, the “current node” is moved back to the root node to compute the second aria-labelledby reference, which refers back to itself. Since the “current node” has already been set to the root node before, and is then moved back to it, it excludes itself because it was already processed by being set to “current node” previously, and thus has no impact.

This is simply what the algorithm states, I’m not saying it’s right or wrong.



Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com<mailto:Bryan.Garaventa@LevelAccess.com>
415.624.2709 (o)
www.LevelAccess.com<http://www.levelaccess.com/>

From: David MacDonald <david@can-adapt.com>
Sent: Wednesday, January 6, 2021 4:14 AM
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: James Nurthen <nurthen@adobe.com>; ARIA Working Group <public-aria@w3.org>
Subject: Re: Accname question regarding self-references

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

I would say A

ACCNAME would be

"The Label AriaLabel"

I'm sorry I've looked at this sentence 3 times and am scratching my head.

"the self-reference is ignored because the root node has already been processed when it was also the ‘current node’."

Cheers,
David MacDonald



CanAdapt Solutions Inc.
Mobile:  613.806.9005

LinkedIn
<http://www.linkedin.com/in/davidmacdonald100>

twitter.com/davidmacd<http://twitter.com/davidmacd>

GitHub<https://github.com/DavidMacDonald>

www.Can-Adapt.com<http://www.can-adapt.com/>



  Adapting the web to all users
            Including those with disabilities

If you are not the intended recipient, please review our privacy policy<http://www.davidmacd.com/disclaimer.html>


On Wed, Jan 6, 2021 at 3:57 AM Steve Faulkner <faulkner.steve@gmail.com<mailto:faulkner.steve@gmail.com>> wrote:
We are having a debate in a Chrome issue about the following.

link to the issue?
--

Regards

SteveF
Accessibility is political[✊]
Working for the web<https://twitter.com/stevefaulkner/status/940835584410574850>,
anywhere and everywhere [🖖🏽]


On Tue, 5 Jan 2021 at 01:30, James Nurthen <nurthen@adobe.com<mailto:nurthen@adobe.com>> wrote:
We are having a debate in a Chrome issue about the following.

According to the accessible name algorithm what should be the accessible name of the input in the below

<span id="label">The Label</span>
<input id="input" aria-label="ariaLabel" aria-labelledby="label input" value="the value">

Choices

  1.  “The label ariaLabel”
  2.  “The label the value”
  3.  “The label ariaLabel the value”
  4.  Something else…


James Nurthen (he/him)
Accessibility engineer
T 415 832 2734
nurthen@adobe.com<mailto:nurthen@adobe.com>
[Adobe]

Received on Wednesday, 6 January 2021 18:20:44 UTC