[Webkit-unassigned] [Bug 254812] New: AX: wrong computed accessible name for input with multiple labels associated
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 31 07:49:46 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=254812
Bug ID: 254812
Summary: AX: wrong computed accessible name for input with
multiple labels associated
Product: WebKit
Version: Safari 16
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: giacomo.petri at usablenet.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
Created attachment 465700
--> https://bugs.webkit.org/attachment.cgi?id=465700&action=review
Screenshot showing how Safari compute the acc name with "This" instead of "This is a label"
*Steps to reproduce:*
Code:
<label for="label">This</label>
<label for="label">is</label>
<label for="label">a</label>
<label for="label">label</label>
<input type="text" name="lb" id="label">
*Actual result:*
The computed accessible name is: "This"
*Expected result:*
Per https://www.w3.org/TR/html-aam-1.0/#accname-computation, section 4.1.1, point 2
"Otherwise use the associated label element or elements accessible name(s) - if more than one label is associated; concatenate by DOM order, delimited by spaces."
the computed accessible name should be: "This is a label" (concatenate by DOM order, delimited by spaces)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230331/36a9d861/attachment.htm>
More information about the webkit-unassigned
mailing list