WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 152663
254812
AX: wrong computed accessible name for input with multiple labels associated
https://bugs.webkit.org/show_bug.cgi?id=254812
Summary
AX: wrong computed accessible name for input with multiple labels associated
Giacomo Petri
Reported
2023-03-31 07:49:46 PDT
Created
attachment 465700
[details]
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)
Attachments
Screenshot showing how Safari compute the acc name with "This" instead of "This is a label"
(829.58 KB, image/png)
2023-03-31 07:49 PDT
,
Giacomo Petri
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-03-31 07:49:55 PDT
<
rdar://problem/107471926
>
Tyler Wilcock
Comment 2
2023-07-15 15:52:59 PDT
*** This bug has been marked as a duplicate of
bug 152663
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug