WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
250124
AX: Wrong role displayed for input in Safari inspector
https://bugs.webkit.org/show_bug.cgi?id=250124
Summary
AX: Wrong role displayed for input in Safari inspector
Giacomo Petri
Reported
2023-01-05 02:23:56 PST
Created
attachment 464344
[details]
Screenshot displaying Role: No matching ARIA role for input type="text" Even though, using VoiceOver + Safari the input type="text" is properly announced as "$label, edit text" which properly convey the element semantic, from the inspector the role provided within the Accessibility section is "No matching ARIA role", which is not true. Even forcing the role="textbox" the role is still "No matching ARIA role". This contrasts with both the WAI-ARIA (
https://www.w3.org/TR/wai-aria-1.2/#textbox
) and HTML Accessibility API Mappings (
https://www.w3.org/TR/html-aam-1.0/#el-input-text
). Similarly, this happens for other input types: * email (Role: "No matching aria role" but it should be "textbox", as per html-aam-1.0 -
https://www.w3.org/TR/html-aam-1.0/#el-input-email
) * number (Role: "No matching aria role" but it should be "textbox", as per html-aam-1.0 -
https://www.w3.org/TR/html-aam-1.0/#el-input-number
) * tel (Role: "No matching aria role" but it should be "textbox", as per html-aam-1.0 -
https://www.w3.org/TR/html-aam-1.0/#el-input-tel
) * url (Role: "No matching aria role" but it should be "textbox", as per html-aam-1.0 -
https://www.w3.org/TR/html-aam-1.0/#el-input-url
) Differently, it's behaving as expected for input types like: * checkbox * search * button/reset/submit * image * range * color (Role: "No matching aria role" but it's correct, as per html-aam-1.0 -
https://www.w3.org/TR/html-aam-1.0/#el-input-color
) * etc.
Attachments
Screenshot displaying Role: No matching ARIA role for input type="text"
(323.71 KB, image/png)
2023-01-05 02:23 PST
,
Giacomo Petri
no flags
Details
Patch
(15.53 KB, patch)
2023-02-26 13:11 PST
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(20.59 KB, patch)
2023-02-26 17:26 PST
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(20.64 KB, patch)
2023-02-26 17:52 PST
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(21.58 KB, patch)
2023-02-26 18:56 PST
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-01-05 02:24:08 PST
<
rdar://problem/103907008
>
Tyler Wilcock
Comment 2
2023-02-26 13:11:14 PST
Created
attachment 465187
[details]
Patch
Tyler Wilcock
Comment 3
2023-02-26 17:26:25 PST
Created
attachment 465190
[details]
Patch
Tyler Wilcock
Comment 4
2023-02-26 17:52:46 PST
Created
attachment 465191
[details]
Patch
Tyler Wilcock
Comment 5
2023-02-26 18:56:52 PST
Created
attachment 465192
[details]
Patch
EWS
Comment 6
2023-02-27 00:49:13 PST
Committed
260868@main
(5cd01f201aba): <
https://commits.webkit.org/260868@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 465192
[details]
.
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