Consider displaying tick marks for <input type=range> when @list/<datalist> is used
Categories
(Core :: Layout: Form Controls, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: jwatt, Assigned: zrhoffman, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: access, dev-doc-complete, Whiteboard: , [wptsync upstream])
Attachments
(2 files, 1 obsolete file)
Reporter | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Reporter | ||
Updated•9 years ago
|
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•5 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #14)
No UA seems to support labels yet though. (The URL I mentioned earlier
uses a polyfill so it's misleading for testing support for this feature.)
MDN suggests Chrome 66 supports labels if the datalist is styled:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#A_range_control_with_hash_marks_and_labels
Version 66 (66.0.3359.181) of Chrome supports labels but the
<datalist>
tag has to be styled with CSS as its display property is set to none by default, hiding the labels.
Comment 16•5 years ago
|
||
This impacts accessibility because it's much easier to ensure good a11y if authors use native widgets. The longer we don't support things like this, the more custom (and probably inaccessible) implementations will proliferate.
Note that if/when the layout part of this is implemented, we'll need code in the a11y module to support this as well.
Related Twitter thread: https://twitter.com/AmeliasBrain/status/1225270470372556801
Comment 17•5 years ago
|
||
Updating the Accessibility Team's impact assessment to conform with the new triage guidelines. See https://wiki.mozilla.org/Accessibility/Triage for descriptions of these whiteboard flags.
Comment 18•4 years ago
|
||
Any updates on this? As a developer this is pretty frustrating, since I have to build a long workaround just to get this to work similarly on Firefox
Comment 19•2 years ago
|
||
It would be useful.
Updated•2 years ago
|
Comment 20•2 years ago
|
||
(In reply to one.snapp8 from comment #18)
Any updates on this? As a developer this is pretty frustrating, since I have to build a long workaround just to get this to work similarly on Firefox
Agreed 100%
Comment 21•2 years ago
|
||
Chrome at least seems to tie this to their native appearance code. So this should be reasonably fixable for someone that knows C++ by changing Theme::PaintRange
here
Assignee | ||
Comment 22•2 years ago
|
||
I'd like to pick up bug 841942. Can I please be assigned it?
Comment 23•2 years ago
|
||
Feel free to send a patch, you should be auto-assigned afterwards.
Assignee | ||
Comment 24•2 years ago
|
||
Thanks, patch sent!
What test coverage would be appropriate? Since Chrome and WebKit's tick marks are on different sides of the range input, a WPT reftest might need to be user agent-specific.
Comment 25•2 years ago
|
||
Assignee | ||
Comment 26•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 27•2 years ago
|
||
Thanks!
Updated•2 years ago
|
Comment 28•2 years ago
|
||
Comment 30•2 years ago
|
||
bugherder |
Comment 32•2 years ago
|
||
Docs updates can be tracked here https://github.com/mdn/content/issues/22892
Comment 33•2 years ago
|
||
While documenting feature I came across an keyboard errro which I reported here
Updated•2 years ago
|
Updated•1 years ago
|
Updated•1 years ago
|
Description
•