<?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>197447</bug_id>
          
          <creation_ts>2019-04-30 17:38:23 -0700</creation_ts>
          <short_desc>AXI: Label for inline elements can display extraneous whitespace.</short_desc>
          <delta_ts>2019-04-30 22:46:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit 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="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1531805</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2019-04-30 17:38:23 -0700</bug_when>
    <thetext>AXI: Label for inline elements can display extraneous whitespace. 

Given the following markup:

&lt;input type=&quot;text&quot; id=&quot;test&quot; /&gt;
&lt;label for=&quot;test&quot;&gt;W&lt;i&gt;h&lt;b&gt;a&lt;/b&gt;&lt;/i&gt;t&lt;br&gt;is&lt;div&gt;your&lt;div&gt;name&lt;b&gt;?&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/label&gt;

If you select the text field in the Web Inspector, and display the Accessibility section of the Node Inspector, the label is listed as 

&quot;W h a t is your name ?&quot; 

not 

&quot;What is your name?&quot;

I&apos;m not certain if this is a bug according to the AccName spec, but it was unexpected to me. The inline nodes (b, i, etc.) I thought would be concatenated without leading and trailing space.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531860</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-30 22:46:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/50361874&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>