Bug 145973 - AX: Expose whether the input is for a url, tel or email.
: AX: Expose whether the input is for a url, tel or email.
Status: NEW
Product: WebKit
Classification: Unclassified
Component: Accessibility
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
: InRadar
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-15 06:17 PDT by Steve Faulkner
Modified: 2015-06-15 11:22 PDT (History)
3 users (show)

See Also:


Attachments
Screenshot of Accessibility Inspector showing the tree for an <input type="slider" /> element (103.57 KB, image/png)
2015-06-15 06:30 PDT, Michiel Bijl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Faulkner 2015-06-15 06:17:39 PDT
What steps will reproduce the problem?
1. go to http://www.html5accessibility.com/tests/form-test.html
2. check the email/url/tel etc inputs
3. input type not exposed in AX

What is the expected output? 
see Mozilla implementation bug https://bugzilla.mozilla.org/show_bug.cgi?id=924896 and chrome bug https://code.google.com/p/chromium/issues/detail?id=323161

Note: search input has a subrole of serach in webkit, others do not.
Comment 1 Radar WebKit Bug Importer 2015-06-15 06:17:56 PDT
<rdar://problem/21381454>
Comment 2 Michiel Bijl 2015-06-15 06:28:08 PDT
type="slider" does have an accessibilityRole of AXSlider (opposed to AXTextArea for most others) but its accessibilitySubrole is still <nil>.
Comment 3 Michiel Bijl 2015-06-15 06:30:29 PDT
Created attachment 254874 [details]
Screenshot of Accessibility Inspector showing the tree for an <input type="slider" /> element
Comment 4 Steve Faulkner 2015-06-15 06:34:40 PDT
(In reply to comment #2)
> type="slider" does have an accessibilityRole of AXSlider (opposed to
> AXTextArea for most others) but its accessibilitySubrole is still <nil>.

this bug/feature request is only for 
http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-tel.html
http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-email.html
http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-url.html
Comment 5 Michiel Bijl 2015-06-15 07:54:25 PDT
(In reply to comment #4)
> (In reply to comment #2)
> > type="slider" does have an accessibilityRole of AXSlider (opposed to
> > AXTextArea for most others) but its accessibilitySubrole is still <nil>.
> 
> this bug/feature request is only for 
> http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-tel.html
> http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-email.
> html
> http://thepaciellogroup.github.io/AT-browser-tests/test-files/input-url.html

Excuse me, I realized that on my way back home, thank you for the clarification. Shouldn't types like month, week and day be included in this report, too?