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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142005</bug_id>
          
          <creation_ts>2015-02-24 21:48:20 -0800</creation_ts>
          <short_desc>AX: Should we sanity-check children of ARIA roles textbox and searchbox?</short_desc>
          <delta_ts>2015-03-02 16:40:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joanmarie Diggs">jdiggs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cfleizach</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1071963</commentid>
    <comment_count>0</comment_count>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2015-02-24 21:48:20 -0800</bug_when>
    <thetext>While working on bug 142004, I discovered that at least some children of elements with ARIA role textbox are exposed unexpectedly (at least to me). One quick example:

    &lt;div role=&quot;textbox&quot;&gt;&lt;h1&gt;Heading&lt;/h1&gt;&lt;/div&gt;

I&apos;m not sure to what extent, if any, we should be sanity-checking these ARIA roles. So I&apos;m opening this bug for discussion -- and work if we don&apos;t WONTFIX it. I&apos;ll implement searchbox support in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1071964</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-02-24 21:48:37 -0800</bug_when>
    <thetext>&lt;rdar://problem/19949343&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073261</commentid>
    <comment_count>2</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2015-03-01 22:48:23 -0800</bug_when>
    <thetext>Is textbox allowed to have children?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073518</commentid>
    <comment_count>3</comment_count>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2015-03-02 16:40:31 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Is textbox allowed to have children?

Why not? (She says having given it more thought, discussion with others, and examination of real-world, non-ARIA equivalent use cases.)

* A multi-line ARIA-roled textbox as a rich-text comment-submission field

* A single-line ARIA-roled textbox which has buttons to clear the contents, enable voice-based input, stylize/highlight errors, show results in real time.

* A searchbox in which you can drag and drop an image or some other object or rich text to find &quot;something like this thing&quot;. (Along with the button to clear the results, choose the search provider etc.)

The more I think about it the more I think this is a WONTFIX because there&apos;s not a Right(tm) or Wrong(tm) candidate child and who knows what creative developers will come up with. &lt;insert shrug here&gt;

The one thing that would be worth doing I think, both here and downstream in our respective platforms, is add regression tests with a variety of things we might not expect in a search box or textbox in order to be sure we, and our platform ATs, don&apos;t spit up on them.

Thoughts?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>