<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11004</bug_id>
          
          <creation_ts>2010-10-10 10:03:30 +0000</creation_ts>
          <short_desc>Add an example of suggestion labels being used and rendered for input type=&quot;range&quot;</short_desc>
          <delta_ts>2016-04-15 21:42:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Hawkes-Lewis">bhawkeslewis</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>cmhjones</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>travil</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40893</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Hawkes-Lewis">bhawkeslewis</who>
    <bug_when>2010-10-10 10:03:30 +0000</bug_when>
    <thetext>You can give suggestions for a input type=&quot;range&quot; labels by using the &quot;label&quot; attribute on the &quot;option&quot; elements in a list referenced by the &quot;list&quot; attribute.

At the moment this isn&apos;t very obvious. Could we include an example showing the rendering of such labels as slider tick mark labels along the lines of the example at:

http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/

Compare also Bug 10988.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40900</commentid>
    <comment_count>1</comment_count>
    <who name="Shelley Powers">shelleyp</who>
    <bug_when>2010-10-10 15:13:35 +0000</bug_when>
    <thetext>We also need to ensure a mapping between the actual range value and the datalist option label. Currently, the list/datalist is seen as more of a passive visual aid, then an actual concrete mapping. 

In addition, we would need an ARIA mapping associated with the labeling, in such a way that actual step values would be available via API with the tick marks, but the step value AND label being available when a label is specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40901</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Hawkes-Lewis">bhawkeslewis</who>
    <bug_when>2010-10-10 15:50:00 +0000</bug_when>
    <thetext>(In reply to comment #1)

These remarks seem fairly off-topic for this bug, which is solely about providing an example rendering.

&gt; We also need to ensure a mapping between the actual range value and the
&gt; datalist option label. Currently, the list/datalist is seen as more of a
&gt; passive visual aid, then an actual concrete mapping. 

As far as I can tell, the &quot;value&quot; attribute concretely maps the suggestion label to its numeric value.

If this is somehow not sufficient, please file a separate bug explaining the problem.

&gt; In addition, we would need an ARIA mapping associated with the labeling, in
&gt; such a way that actual step values would be available via API with the tick
&gt; marks, but the step value AND label being available when a label is specified.

The requirement for accessibility mappings in the mappings Note is already logged as Bug 11003.

ARIA does not cover all semantics that need to be mapped to accessibility APIs (at the moment, for instance, it doesn&apos;t even cover tables). I don&apos;t think ARIA has any particularly obvious mapping for range control suggestion labels. Notably the JQuery UI slider doesn&apos;t seem to add ARIA annotations to the tick mark labels.

If you think there is a good way to map the native semantics to ARIA as it stands, please explain how in dedicated bug. Otherwise, please propose additions to ARIA to PFWG via the public-pfwg-comments mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40903</commentid>
    <comment_count>3</comment_count>
    <who name="Shelley Powers">shelleyp</who>
    <bug_when>2010-10-10 16:30:17 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; 
&gt; These remarks seem fairly off-topic for this bug, which is solely about
&gt; providing an example rendering.
&gt; 
&gt; &gt; We also need to ensure a mapping between the actual range value and the
&gt; &gt; datalist option label. Currently, the list/datalist is seen as more of a
&gt; &gt; passive visual aid, then an actual concrete mapping. 
&gt; 
&gt; As far as I can tell, the &quot;value&quot; attribute concretely maps the suggestion
&gt; label to its numeric value.
&gt; 
&gt; If this is somehow not sufficient, please file a separate bug explaining the
&gt; problem.
&gt; 
&gt; &gt; In addition, we would need an ARIA mapping associated with the labeling, in
&gt; &gt; such a way that actual step values would be available via API with the tick
&gt; &gt; marks, but the step value AND label being available when a label is specified.
&gt; 
&gt; The requirement for accessibility mappings in the mappings Note is already
&gt; logged as Bug 11003.
&gt; 
&gt; ARIA does not cover all semantics that need to be mapped to accessibility APIs
&gt; (at the moment, for instance, it doesn&apos;t even cover tables). I don&apos;t think ARIA
&gt; has any particularly obvious mapping for range control suggestion labels.
&gt; Notably the JQuery UI slider doesn&apos;t seem to add ARIA annotations to the tick
&gt; mark labels.
&gt; 
&gt; If you think there is a good way to map the native semantics to ARIA as it
&gt; stands, please explain how in dedicated bug. Otherwise, please propose
&gt; additions to ARIA to PFWG via the public-pfwg-comments mailing list.


Sorry, disagree with you. 

As the example you have linked demonstrated, there are available ARIA mappings that would work. These need to be documented in the HTML WG documentation. 

However, do agree with you that these could be handled in a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40905</commentid>
    <comment_count>4</comment_count>
    <who name="Shelley Powers">shelleyp</who>
    <bug_when>2010-10-10 16:40:36 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; 
&gt; These remarks seem fairly off-topic for this bug, which is solely about
&gt; providing an example rendering.
&gt; 
&gt; &gt; We also need to ensure a mapping between the actual range value and the
&gt; &gt; datalist option label. Currently, the list/datalist is seen as more of a
&gt; &gt; passive visual aid, then an actual concrete mapping. 
&gt; 
&gt; As far as I can tell, the &quot;value&quot; attribute concretely maps the suggestion
&gt; label to its numeric value.
&gt; 
&gt; If this is somehow not sufficient, please file a separate bug explaining the
&gt; problem.
&gt; 
&gt; &gt; In addition, we would need an ARIA mapping associated with the labeling, in
&gt; &gt; such a way that actual step values would be available via API with the tick
&gt; &gt; marks, but the step value AND label being available when a label is specified.
&gt; 
&gt; The requirement for accessibility mappings in the mappings Note is already
&gt; logged as Bug 11003.
&gt; 
&gt; ARIA does not cover all semantics that need to be mapped to accessibility APIs
&gt; (at the moment, for instance, it doesn&apos;t even cover tables). I don&apos;t think ARIA
&gt; has any particularly obvious mapping for range control suggestion labels.
&gt; Notably the JQuery UI slider doesn&apos;t seem to add ARIA annotations to the tick
&gt; mark labels.
&gt; 
&gt; If you think there is a good way to map the native semantics to ARIA as it
&gt; stands, please explain how in dedicated bug. Otherwise, please propose
&gt; additions to ARIA to PFWG via the public-pfwg-comments mailing list.

Sorry, had missed your reference to bug 11003 earlier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41068</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-10-12 10:27:31 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: no spec change
Rationale: The very first type=range example shows exactly that as far as I can tell.

If you want another example, please provide the source and screenshot for the example you have in mind. I&apos;d be happy to add more examples.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41656</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Hawkes-Lewis">bhawkeslewis</who>
    <bug_when>2010-10-22 07:33:43 +0000</bug_when>
    <thetext>Not really, I mean something like:

&lt;input type=&quot;range&quot; min=&quot;0&quot; max=&quot;100&quot; value=&quot;0&quot; step=&quot;10&quot; name=&quot;speed&quot; list=&quot;speeds&quot;&gt;
&lt;datalist id=&quot;speeds&quot;&gt;
  &lt;option value=&quot;10&quot;&gt;Slower&lt;/option&gt;
  &lt;option value=&quot;20&quot;&gt;Slow&lt;/option&gt;
  &lt;option value=&quot;30&quot;&gt;Medium&lt;/option&gt;
  &lt;option value=&quot;70&quot;&gt;Fast&lt;/option&gt;
  &lt;option value=&quot;90&quot;&gt;Faster&lt;/option&gt;
&lt;/datalist&gt;

Excuse the ASCII art:

------------------------------------------------------------
|       |              |             }               |        |        |         }           |        |              |
       Slower      Slow       Medium                                 Fast               Faster       

The example in the spec doesn&apos;t have labels specified in the data list, or render them.

Assigning to me in the hopes that I&apos;ll find time to come up with a nicer example, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52442</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:01:32 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60182</commentid>
    <comment_count>8</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-11-20 14:23:37 +0000</bug_when>
    <thetext>(In reply to comment #6 from Benjamin Hawkes-Lewis)
&gt; Assigning to me in the hopes that I&apos;ll find time to come up with a nicer
&gt; example, though.

Note that per the chairs latest published timeline, we need for this bug to be resolved by December 31 -

  http://lists.w3.org/Archives/Public/public-html/2011Jun/0315.html

If you don&apos;t have time before then to come up with a better proposed example, one possible resolution is to move the bug to resolved=later and get back to it when you can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60428</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-24 02:59:09 +0000</bug_when>
    <thetext>If you don&apos;t have the time to make an example, feel free to reassign it to me. I&apos;ll do one or find someone to do one. (Definitely don&apos;t close the bug, it&apos;d be a pity to lose track of this suggestion.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69945</commentid>
    <comment_count>10</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-13 18:04:59 +0000</bug_when>
    <thetext>This bug was cloned to create bug 17771 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76410</commentid>
    <comment_count>11</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-16 17:25:43 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: No spec change.
Rationale: Let&apos;s add an example when someone comes up with one, but let&apos;s not block HTML5 on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81741</commentid>
    <comment_count>12</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 15:59:59 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81859</commentid>
    <comment_count>13</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 16:02:43 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125876</commentid>
    <comment_count>14</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-15 21:42:31 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: It looks like the current spec has three examples that show how labels might be used in: http://w3c.github.io/html/sec-forms.html#range-state-typerange
1. An example with a wheel that has marks at 400, 500, and 600.
2. An example with &quot;High&quot; and &quot;Low&quot; labels
3. A &apos;multiple&apos; example with time duration labels (not positioned along the tick marks)

I think this is probably sufficient and the second example covers the list attribute case.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>