<?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>293974</bug_id>
          
          <creation_ts>2025-06-03 11:50:19 -0700</creation_ts>
          <short_desc>AX: Voice control not focusing inputs and textareas when not in a fieldset</short_desc>
          <delta_ts>2025-06-27 18:24:26 -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>Accessibility</component>
          <version>Safari 18</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hidanielle.dev</reporter>
          <assigned_to name="Joshua Hoffman">jhoffman23</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>jhoffman23</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2121438</commentid>
    <comment_count>0</comment_count>
    <who name="">hidanielle.dev</who>
    <bug_when>2025-06-03 11:50:19 -0700</bug_when>
    <thetext>I do not know if this was always present but I&apos;ve been investigating an issue entering text in inputs and textareas using voice control in Safari specifically - this issue is not present in Chrome

OS: Sequoia 15.5
Browser: Safari 18.5

You can recreate this in any form, for example see the fields from W3C https://www.w3.org/WAI/tutorials/forms/labels/

Attempting to access the field by it&apos;s name will alert as if it&apos;s found the field, but does not enter the field
Showing numbers displays a number on the field itself (not the label as well) but selecting that number does nothing
You can only actually get focus into the field by using show grid

Interestingly, if the field is wrapped in a fieldset, attempting to access the field by it&apos;s name will show numbers next to the fields label AND input. If you select the labels number, you successfully focus the input, but if you select the inputs name, nothing happens again. You can see this in that same form documentation but the page about grouped controls, https://www.w3.org/WAI/tutorials/forms/grouping/


I think this is a pretty big issue. Input fields are not required to be in fieldsets and so this would be a pretty common issue that requires a lot of work for a user to actually be able to fill out and likely get understandably frustrated. It&apos;s also not obvious to developers why the issue would exist, despite a workaround being to wrap everything in a fieldset (which still doesn&apos;t actually work exactly how it should but would get the job done slightly more easily than using the grid on the users part)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121439</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-06-03 11:50:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/152517222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2126216</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Hoffman">jhoffman23</who>
    <bug_when>2025-06-26 22:11:39 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/47282</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2126442</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-27 18:24:24 -0700</bug_when>
    <thetext>Committed 296763@main (09204fce5fa1): &lt;https://commits.webkit.org/296763@main&gt;

Reviewed commits have been landed. Closing PR #47282 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>