I’m thinking A because aria-label overrides input so value no longer matters, but then aria-labelledby takes precedence so it overrides with a reference to the label followed by itself which is labeled by aria-label.
President, Prime Access Consulting, Inc.
Phone: 919-345-3832
https://www.PAC.bz
Twitter: @SinaBahram
Personal Website: <https://www.sinabahram.com> https://www.sinabahram.com
From: Gunderson, Jon R <jongund@illinois.edu>
Sent: Monday, January 4, 2021 8:34 PM
To: James Nurthen <nurthen@adobe.com>; ARIA Working Group <public-aria@w3.org>
Subject: RE: Accname question regarding self-references
My vote is for B “The label the value”
The aria-label on the input element should be ignored.
Jon
From: James Nurthen <nurthen@adobe.com>
Sent: Monday, January 4, 2021 7:30 PM
To: ARIA Working Group <public-aria@w3.org>
Subject: Accname question regarding self-references
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
a. “The label ariaLabel”
b. “The label the value”
c. “The label ariaLabel the value”
d. Something else…
James Nurthen (he/him)
Accessibility engineer
T 415 832 2734
nurthen@adobe.com <mailto:nurthen@adobe.com>