<?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>7711</bug_id>
          
          <creation_ts>2009-09-23 17:10:04 +0000</creation_ts>
          <short_desc>The &quot;strong native semantics&quot; are worded very similarly -- but not quite the same -- for input type=Number, input type=range, and progressbar.</short_desc>
          <delta_ts>2010-10-04 14:55:35 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#annotations-for-assistive-technology-products-(aria)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>jimjjewett</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>27619</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-23 17:10:04 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#annotations-for-assistive-technology-products-(aria)

Comment:
The &quot;strong native semantics&quot; are worded very similarly -- but not quite the same -- for input type=Number, input type=range, and progressbar.

Posted from: 32.97.110.59</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27620</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Jewett">jimjjewett</who>
    <bug_when>2009-09-23 17:17:16 +0000</bug_when>
    <thetext>I would suggest using a list to define the various attributes, rather than a long sentence.

I would also suggest clarifying the aria-valuenow instructions.  As best I can tell, it is equal to the value iff the value can be parsed as a number.  Otherwise, (only for a range?) it is the default value, if that can be calculated.  Otherwise, it is undefined?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27812</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-29 09:33:52 +0000</bug_when>
    <thetext>The various differences are intentional and meaningful; not just editorial. Are there any you think are wrong?

I considered using a bulleted list instead of a comma-separated list in a sentence, but it didn&apos;t seem like much of a win.


&gt; I would also suggest clarifying the aria-valuenow instructions.  As best I can
&gt; tell, it is equal to the value iff the value can be parsed as a number. 
&gt; Otherwise, (only for a range?) it is the default value, if that can be
&gt; calculated.  Otherwise, it is undefined?

Otherwise, it is not specified at all.

I&apos;m not sure what there is to clarify.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27854</commentid>
    <comment_count>3</comment_count>
    <who name="Jim Jewett">jimjjewett</who>
    <bug_when>2009-09-29 13:32:32 +0000</bug_when>
    <thetext>Some differences are editorial, because of sentence construction and the need to keep sentences grammatical.  They still led me astray when I was doing the comparisons.  (Thus my preference for a bulleted list, which would have made the comparisons more obvious.)

&gt;&gt; I would also suggest clarifying the aria-valuenow instructions.  
&gt;&gt; As best I can tell, it is equal to the value iff the value can
&gt;&gt; be parsed as a number. 

(This was one place where the slight differences in wording confused me -- I was trying to figure out whether or not they also implied differences in edge cases for parsing.)

&gt;&gt; Otherwise, (only for a range?) it is the default value, 
&gt;&gt; if that can be calculated.

Given the level of parallelism, I think (but am not certain) that it would be worth making it even more parallel by adding an explicit note that there is no default value for progressbar or number.

&gt;&gt; Otherwise, it is undefined?

&gt; Otherwise, it is not specified at all.

So the value of &lt;input type=number&gt;six&lt;/input&gt; is implementation-defined; browsers are allowed to interpret it as 6 (or 43.7) if they wish, and compatibility is not expected?  I would prefer that it be explicitly the value undefined (or at least null), but admit that my intuition could well be wrong here.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27896</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-30 07:32:13 +0000</bug_when>
    <thetext>&gt; So the value of &lt;input type=number&gt;six&lt;/input&gt; is implementation-defined;
&gt; browsers are allowed to interpret it as 6 (or 43.7) if they wish, and
&gt; compatibility is not expected?

No, not at all. There is no value (more precisely, the value is the empty string). However, there&apos;s no numeric value to convey to the AT using aria-valuenow; if this was an explicit HTML DOM we were talking about, the element would have no aria-valuenow attribute.


I haven&apos;t added an explicit note that the aria-valuenow attribute is omitted in the cases you mention, because _everything_ is omitted unless stated otherwise explicitly. I don&apos;t really see how to make that clearer without just hitting the reader over the head with it, as it were, and that would just make the spec even more painful to read.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27944</commentid>
    <comment_count>5</comment_count>
    <who name="Jim Jewett">jimjjewett</who>
    <bug_when>2009-09-30 14:26:39 +0000</bug_when>
    <thetext>I think ARIA integration has been tricky enough that it may be worth erring on the side of being too explicit.

In the specific case of aria-valuenow, range and spinbutton make it a required attribute, so it should exist (but be set to &quot;&quot;).  (But the aria spec does seem to allow undefined or absent to be interpreted as the default value, which in this case is &quot;&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28442</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-10-18 10:09:38 +0000</bug_when>
    <thetext>&gt; I think ARIA integration has been tricky enough that it may be worth erring on
&gt; the side of being too explicit.

I disagree. I think the danger of being too explicit is that implementors would be swiming in trivial requirements and would miss the important ones.


&gt; In the specific case of aria-valuenow, range and spinbutton make it a required
&gt; attribute

I assume you mean slider and spinbutton.

When the spec sets an implied role=slider, it always also implies aria-valuenow.
For the case of role=spinbutton, there&apos;s one case where it can&apos;t set aria-valuenow, namely when the value is not known. (Setting it to &quot;&quot; is just as non-conforming as omitting it, except the ARIA spec says it SHOULD NOT be specified if the value is not known, which implies a preference to omitting it.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33501</commentid>
    <comment_count>7</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:51:42 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, 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

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>