Bug 121061 - AX: Let ARIA override the value of an input type=range
Summary: AX: Let ARIA override the value of an input type=range
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate, InRadar
Depends on:
Blocks:
 
Reported: 2013-09-09 17:10 PDT by Ryosuke Niwa
Modified: 2014-02-07 11:57 PST (History)
5 users (show)

See Also:


Attachments
test case (524 bytes, text/html)
2014-02-07 11:55 PST, James Craig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Radar WebKit Bug Importer 2013-09-09 17:11:02 PDT
<rdar://problem/14950066>
Comment 2 chris fleizach 2013-09-09 17:39:27 PDT
James, does this idea look accurate to you
Comment 3 James Craig 2013-09-10 16:21:10 PDT
No, it's a bad patch. Only aria-valuetext should be used on range. The other attrs are identical semantically to the aria attrs (e.g. @max vs @aria-valuemax, and @value vs @aria-valuenow) so the host language attrs should win.

From the ARIA spec:
http://www.w3.org/WAI/PF/aria/complete#host_general_conflict

"When a host language declares a WAI-ARIA attribute to be in direct semantic conflict with a native attribute for a given element, user agents MUST ignore the WAI-ARIA attribute and instead use the host language attribute with the same implicit semantic."
Comment 4 Dominic Mazzoni 2013-09-10 23:44:45 PDT
Thanks for correcting me. I misinterpreted the spec.

I think the aria-valuetext part of the patch is still good - it wasn't working on an input type=range previously. I'll revert the rest.
Comment 5 James Craig 2013-09-11 00:11:54 PDT
(In reply to comment #4)

> I think the aria-valuetext part of the patch is still good - it wasn't working on an input type=range previously.

Are you sure? I demoed this working in a WWDC 2011 presentation. Are you saying it regressed or that it didn't look like it was working at all?
Comment 6 James Craig 2014-02-07 11:55:07 PST
Created attachment 223479 [details]
test case
Comment 7 James Craig 2014-02-07 11:55:45 PST
Attaching working test case and closing. If you have a test case that does not work, please reopen.