accname icon indicating copy to clipboard operation
accname copied to clipboard

Skip to 2E only, if a form element is labeled with aria-label?

Open JAWS-test opened this issue 4 years ago • 0 comments

Currently, according to the specification, it only skips to 2E if a form element is labeled with aria-label. However, this should also apply if it is labeled with label or aria-labelledby, for example. By the way, this is how it is handled correctly by the browsers and AccName Prototype Test, only the specification does not say it correctly (see https://github.com/w3c/accname/issues/96#issuecomment-774403355)

Example:

<input id=test>
<label for=test>
before
<input value=value aria-labelledby=aria>
after
</label>
<div id=aria>aria-labelledby</div>

According to the specification, the label from the input with id=test would be "before aria-labelledby after", but it should be "before value after".

JAWS-test avatar Feb 06 '21 05:02 JAWS-test