[Webkit-unassigned] [Bug 188200] New: Feature Request: Allow adding icons/images to <select> and <datalist> <option>s

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 11:11:16 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188200

            Bug ID: 188200
           Summary: Feature Request: Allow adding icons/images to <select>
                    and <datalist> <option>s
           Product: WebKit
           Version: Safari 11
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aleksey.gladysh at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Images and icons don’t work in <option> elements. In the best case scenario, developers will replace it with a list of <input type="radio"> elements, but even though with a fair bit of work, such a custom control may be made somewhat accessible on desktop, it still creates an inferior form flow experience on mobile in most cases.

There should be a way to render icons/images in the options so that developers wouldn’t have to resort to JavaScript based controls which tend to be bad for accessibility on mobile and desktop. No browser supports this yet. This is a feature proposal that I’m going to do for all browsers. Here’s a discussion on WHATWG’s GitHub about it.

https://github.com/whatwg/html/issues/3596

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180731/739a4938/attachment.html>


More information about the webkit-unassigned mailing list