RE: Accname question regarding self-references

Sina,

I don’t think something with the name “aria-label” should override a widget “value”.

If we want to override values, lets create “aria-value” property.

Using “aria-label” to override values will make a complex and confusing labelling algorithm even more complex and confusing.

Jon


From: Sina Bahram <sina@sinabahram.com>
Sent: Monday, January 4, 2021 7:55 PM
To: Gunderson, Jon R <jongund@illinois.edu>; 'James Nurthen' <nurthen@adobe.com>; 'ARIA Working Group' <public-aria@w3.org>
Subject: RE: Accname question regarding self-references

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<https://urldefense.com/v3/__https:/www.PAC.bz__;!!DZ3fjg!pQ20yRmAU1uapiaO2j8ykCH6OEECxA6dp4Io4QdgkxlFt6b_EX8szDd56lCVxy3ugQ$>
Twitter: @SinaBahram
Personal Website: https://www.sinabahram.com<https://urldefense.com/v3/__https:/www.sinabahram.com__;!!DZ3fjg!pQ20yRmAU1uapiaO2j8ykCH6OEECxA6dp4Io4QdgkxlFt6b_EX8szDd56lB37iq9yw$>

From: Gunderson, Jon R <jongund@illinois.edu<mailto:jongund@illinois.edu>>
Sent: Monday, January 4, 2021 8:34 PM
To: James Nurthen <nurthen@adobe.com<mailto:nurthen@adobe.com>>; ARIA Working Group <public-aria@w3.org<mailto: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<mailto:nurthen@adobe.com>>
Sent: Monday, January 4, 2021 7:30 PM
To: ARIA Working Group <public-aria@w3.org<mailto: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

  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 Tuesday, 5 January 2021 02:01:43 UTC