<?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>28695</bug_id>
          
          <creation_ts>2015-05-23 05:42:18 +0000</creation_ts>
          <short_desc>input(type attribute in the Time state) should not map to ROLE_SYSTEM_SPINBUTTON</short_desc>
          <delta_ts>2015-06-24 08:20:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ARIA</product>
          <component>HTML AAM</component>
          <version>Future</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julie Jeongeun Kim">je00julie.kim</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>dmazzoni</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>jason</cc>
    
    <cc>jdiggs</cc>
    
    <cc>je00julie.kim</cc>
    
    <cc>surkov.alexander</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120441</commentid>
    <comment_count>0</comment_count>
    <who name="Julie Jeongeun Kim">je00julie.kim</who>
    <bug_when>2015-05-23 05:42:18 +0000</bug_when>
    <thetext>4.4 HTML Element Role Mappings
input (type attribute in the Time state)

As I implements AX Role-mapping on chromium, I discussed some issue related to &apos;input (type attribute in the Time state)&apos; with a reviewer, Dominic.
Here is the comment from him.
&gt; The most important issue is that it has to work for users.
&gt;
&gt; Try this: create a webpage with &lt;input type=&quot;time&quot;&gt; in it, then open Chrome
&gt; Developer Tools. Click on the &quot;Settings&quot; button (Gear icon), then check the box
&gt; labeled &quot;Show user agent shadow DOM&quot;. Now inspect the time control and you&apos;ll
&gt; see something like this:
&gt; 
&gt; &lt;input type=&quot;time&quot;&gt;
&gt;   #shadow-root (user-agent)
&gt;     &lt;div pseudo=&quot;-webkit-datetime-edit&quot; id=&quot;date-time-edit&quot; datetimeformat=&quot;h:mm
&gt; a&quot;&gt;
&gt;       &lt;div pseudo=&quot;-webkit-datetime-edit-fields-wrapper&quot;&gt;
&gt;         &lt;span role=&quot;spinbutton&quot; aria-valuetext=&quot;11&quot; aria-valuemin=&quot;1&quot;
&gt; aria-valuemax=&quot;12&quot; aria-help=&quot;Hours&quot; pseudo=&quot;-webkit-datetime-edit-hour-field&quot;
&gt; aria-valuenow=&quot;11&quot;&gt;11&lt;/span&gt;
&gt;         &lt;div pseudo=&quot;-webkit-datetime-edit-text&quot;&gt;:&lt;/div&gt;
&gt;         &lt;span role=&quot;spinbutton&quot; aria-valuetext=&quot;59&quot; aria-valuemin=&quot;0&quot;
&gt; aria-valuemax=&quot;59&quot; aria-help=&quot;Minutes&quot;
&gt; pseudo=&quot;-webkit-datetime-edit-minute-field&quot; aria-valuenow=&quot;59&quot;&gt;59&lt;/span&gt;
&gt;         &lt;div pseudo=&quot;-webkit-datetime-edit-text&quot;&gt; &lt;/div&gt;
&gt;         &lt;span role=&quot;spinbutton&quot; aria-valuetext=&quot;AM&quot; aria-valuemin=&quot;1&quot;
&gt; aria-valuemax=&quot;2&quot; aria-help=&quot;AM/PM&quot; pseudo=&quot;-webkit-datetime-edit-ampm-field&quot;
&gt; aria-valuenow=&quot;1&quot;&gt;AM&lt;/span&gt;
&gt;       &lt;/div&gt;
&gt;     &lt;/div&gt;
&gt;     &lt;div pseudo=&quot;-webkit-clear-button&quot; id=&quot;clear&quot; style=&quot;&quot;&gt;&lt;/div&gt;
&gt;     &lt;div pseudo=&quot;-webkit-inner-spin-button&quot; id=&quot;spin&quot;&gt;&lt;/div&gt;    
&gt; 
&gt; This is what&apos;s actually seen in the layout tree and accessibility tree. Though
&gt; the web author only added one DOM element to the page, we actually end up with 4
&gt; separate controls:
&gt; 
&gt; * An hour picker (spin button)
&gt; * A minute picker (spin button)
&gt; * An AM / PM picker (spin button)
&gt; * A clear button (button, not currently accessible but probably should be)
&gt; 
&gt; From the point of view of assistive technology, there should be four separate
&gt; controls on the page. They&apos;re all related and they&apos;re all grouped, but they&apos;re
&gt; separate.
&gt; 
&gt; Mapping &lt;input type=time&gt; to ROLE_SYSTEM_SPINBUTTON basically says that the root
&gt; of this subtree of elements should be a spin button - but it&apos;s not. It&apos;s a
&gt; wrapper that has other elements inside.

So, we think that input (type attribute in the Time state) should have a group role
or something like IA2_ROLE_DATE_EDITOR, not just ROLE_SYSTEM_SPINBUTTON.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120442</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-05-23 10:33:43 +0000</bug_when>
    <thetext>had a look into it and have updated mappings, 
http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#el-input-time

what do you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120444</commentid>
    <comment_count>2</comment_count>
    <who name="Julie Jeongeun Kim">je00julie.kim</who>
    <bug_when>2015-05-23 15:33:22 +0000</bug_when>
    <thetext>Sounds reasonable to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120459</commentid>
    <comment_count>3</comment_count>
    <who name="Dominic Mazzoni">dmazzoni</who>
    <bug_when>2015-05-24 05:00:55 +0000</bug_when>
    <thetext>That looks like a good explanation, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120460</commentid>
    <comment_count>4</comment_count>
    <who name="Julie Jeongeun Kim">je00julie.kim</who>
    <bug_when>2015-05-24 14:00:56 +0000</bug_when>
    <thetext>Hi Steve,
After I looked into it for a while, I have one thing I&apos;d like to clarify.

According to the updated version,
MSAA+UIA : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
MSAA+IA2 : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
ATK: ATK_ROLE_SPINBUTTON or ROLE_PANEL.
AX: AXTimeField

I think three of them, MASS+UIA, MSAA+IA2 and ATK are consistent but AX it not.
In order to make it consistent with others,
it could be &quot;AX: NSAccessibilityIncrementorRole(AXIncrementor) or NSAccessibilityGroupRole(AXGroup)”.
*NSAccessibilityIncrementorRole is used for SpinButtonRole on Mac.

But, the important thing is that only AX has the specific role for input-time differently from other platforms.
Even if other platforms have ROLE_DATE_EDITOR, IA2_ROLE_DATE_EDITOR and ATK_ROLE_DATE_EDITOR,
we could say that they are for input-date, not input-time.

My guess is that if there is specific role for input-time like Mac, it is a high priority and
if there is no specific role for input-time, SPIN Button and Grouping are proper.

I’d like to understand background correctly.
If I missed something, please let me.
Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120604</commentid>
    <comment_count>5</comment_count>
    <who name="alexander surkov">surkov.alexander</who>
    <bug_when>2015-05-29 12:59:59 +0000</bug_when>
    <thetext>I think there&apos;s confusion with names. MSAA 
ROLE_SYSTEM_SPINBUTTON is a text field [1]:

&quot;The object represents a spin box, which is a control that allows the user to increment or decrement the value displayed in a separate &quot;buddy&quot; control that is associated with the spin box.&quot;

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/dd373608%28v=vs.85%29.aspx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120964</commentid>
    <comment_count>6</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-06-13 10:35:32 +0000</bug_when>
    <thetext>(In reply to alexander surkov from comment #5)
&gt; I think there&apos;s confusion with names. MSAA 
&gt; ROLE_SYSTEM_SPINBUTTON is a text field [1]:
&gt; 
&gt; &quot;The object represents a spin box, which is a control that allows the user
&gt; to increment or decrement the value displayed in a separate &quot;buddy&quot; control
&gt; that is associated with the spin box.&quot;
&gt; 
&gt; [1]
&gt; https://msdn.microsoft.com/en-us/library/windows/desktop/dd373608%28v=vs.
&gt; 85%29.aspx

what&apos;s the confusion?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120965</commentid>
    <comment_count>7</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-06-13 10:36:57 +0000</bug_when>
    <thetext>(In reply to Julie Jeongeun Kim from comment #4)
&gt; Hi Steve,
&gt; After I looked into it for a while, I have one thing I&apos;d like to clarify.
&gt; 
&gt; According to the updated version,
&gt; MSAA+UIA : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; MSAA+IA2 : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; ATK: ATK_ROLE_SPINBUTTON or ROLE_PANEL.
&gt; AX: AXTimeField
&gt; 
&gt; I think three of them, MASS+UIA, MSAA+IA2 and ATK are consistent but AX it
&gt; not.
&gt; In order to make it consistent with others,
&gt; it could be &quot;AX: NSAccessibilityIncrementorRole(AXIncrementor) or
&gt; NSAccessibilityGroupRole(AXGroup)”.
&gt; *NSAccessibilityIncrementorRole is used for SpinButtonRole on Mac.
&gt; 
&gt; But, the important thing is that only AX has the specific role for
&gt; input-time differently from other platforms.
&gt; Even if other platforms have ROLE_DATE_EDITOR, IA2_ROLE_DATE_EDITOR and
&gt; ATK_ROLE_DATE_EDITOR,
&gt; we could say that they are for input-date, not input-time.
&gt; 
&gt; My guess is that if there is specific role for input-time like Mac, it is a
&gt; high priority and
&gt; if there is no specific role for input-time, SPIN Button and Grouping are
&gt; proper.
&gt; 
&gt; I’d like to understand background correctly.
&gt; If I missed something, please let me.
&gt; Thanks,

Hi Julie, are you proposing any chnage to the current spec text?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120966</commentid>
    <comment_count>8</comment_count>
    <who name="Julie Jeongeun Kim">je00julie.kim</who>
    <bug_when>2015-06-13 11:17:55 +0000</bug_when>
    <thetext>(In reply to steve faulkner from comment #7)
&gt; (In reply to Julie Jeongeun Kim from comment #4)
&gt; &gt; Hi Steve,
&gt; &gt; After I looked into it for a while, I have one thing I&apos;d like to clarify.
&gt; &gt; 
&gt; &gt; According to the updated version,
&gt; &gt; MSAA+UIA : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; &gt; MSAA+IA2 : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; &gt; ATK: ATK_ROLE_SPINBUTTON or ROLE_PANEL.
&gt; &gt; AX: AXTimeField
&gt; &gt; 
&gt; &gt; I think three of them, MASS+UIA, MSAA+IA2 and ATK are consistent but AX it
&gt; &gt; not.
&gt; &gt; In order to make it consistent with others,
&gt; &gt; it could be &quot;AX: NSAccessibilityIncrementorRole(AXIncrementor) or
&gt; &gt; NSAccessibilityGroupRole(AXGroup)”.
&gt; &gt; *NSAccessibilityIncrementorRole is used for SpinButtonRole on Mac.
&gt; &gt; 
&gt; &gt; But, the important thing is that only AX has the specific role for
&gt; &gt; input-time differently from other platforms.
&gt; &gt; Even if other platforms have ROLE_DATE_EDITOR, IA2_ROLE_DATE_EDITOR and
&gt; &gt; ATK_ROLE_DATE_EDITOR,
&gt; &gt; we could say that they are for input-date, not input-time.
&gt; &gt; 
&gt; &gt; My guess is that if there is specific role for input-time like Mac, it is a
&gt; &gt; high priority and
&gt; &gt; if there is no specific role for input-time, SPIN Button and Grouping are
&gt; &gt; proper.
&gt; &gt; 
&gt; &gt; I’d like to understand background correctly.
&gt; &gt; If I missed something, please let me.
&gt; &gt; Thanks,
&gt; 
&gt; Hi Julie, are you proposing any chnage to the current spec text?

Hi Steve,
Previously I tried to map the role to the Group on Mac without understanding it deeply.
After I think that way above, I have no concern about the current version now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120967</commentid>
    <comment_count>9</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-06-13 11:26:27 +0000</bug_when>
    <thetext>(In reply to Julie Jeongeun Kim from comment #8)
&gt; (In reply to steve faulkner from comment #7)
&gt; &gt; (In reply to Julie Jeongeun Kim from comment #4)
&gt; &gt; &gt; Hi Steve,
&gt; &gt; &gt; After I looked into it for a while, I have one thing I&apos;d like to clarify.
&gt; &gt; &gt; 
&gt; &gt; &gt; According to the updated version,
&gt; &gt; &gt; MSAA+UIA : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; &gt; &gt; MSAA+IA2 : ROLE_SYSTEM_SPINBUTTON or ROLE_SYSTEM_GROUPING
&gt; &gt; &gt; ATK: ATK_ROLE_SPINBUTTON or ROLE_PANEL.
&gt; &gt; &gt; AX: AXTimeField
&gt; &gt; &gt; 
&gt; &gt; &gt; I think three of them, MASS+UIA, MSAA+IA2 and ATK are consistent but AX it
&gt; &gt; &gt; not.
&gt; &gt; &gt; In order to make it consistent with others,
&gt; &gt; &gt; it could be &quot;AX: NSAccessibilityIncrementorRole(AXIncrementor) or
&gt; &gt; &gt; NSAccessibilityGroupRole(AXGroup)”.
&gt; &gt; &gt; *NSAccessibilityIncrementorRole is used for SpinButtonRole on Mac.
&gt; &gt; &gt; 
&gt; &gt; &gt; But, the important thing is that only AX has the specific role for
&gt; &gt; &gt; input-time differently from other platforms.
&gt; &gt; &gt; Even if other platforms have ROLE_DATE_EDITOR, IA2_ROLE_DATE_EDITOR and
&gt; &gt; &gt; ATK_ROLE_DATE_EDITOR,
&gt; &gt; &gt; we could say that they are for input-date, not input-time.
&gt; &gt; &gt; 
&gt; &gt; &gt; My guess is that if there is specific role for input-time like Mac, it is a
&gt; &gt; &gt; high priority and
&gt; &gt; &gt; if there is no specific role for input-time, SPIN Button and Grouping are
&gt; &gt; &gt; proper.
&gt; &gt; &gt; 
&gt; &gt; &gt; I’d like to understand background correctly.
&gt; &gt; &gt; If I missed something, please let me.
&gt; &gt; &gt; Thanks,
&gt; &gt; 
&gt; &gt; Hi Julie, are you proposing any chnage to the current spec text?
&gt; 
&gt; Hi Steve,
&gt; Previously I tried to map the role to the Group on Mac without understanding
&gt; it deeply.
&gt; After I think that way above, I have no concern about the current version
&gt; now.

thanks Julie,will close this bug then.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>