<?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>301760</bug_id>
          
          <creation_ts>2025-10-31 08:55:20 -0700</creation_ts>
          <short_desc>AX: focused node should be nullptr when a different frame has focus</short_desc>
          <delta_ts>2025-11-03 14:31:39 -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>WebKit Nightly Build</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Mazzoni">dm_mazzoni</reporter>
          <assigned_to name="Dominic Mazzoni">dm_mazzoni</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2155532</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Mazzoni">dm_mazzoni</who>
    <bug_when>2025-10-31 08:55:20 -0700</bug_when>
    <thetext>This applies when the ENABLE_ACCESSIBILITY_LOCAL_FRAME flag is enabled, in preparation for site isolation.

Previously, there was one AXObjectCache for the whole page, and the current focused element always returned the focused element from any frame. If there was no focused element, the root was returned.

With this flag enabled (required for site isolation), there&apos;s one AXObjectCache for each frame. When determining the focused node across all frames in the current process, each frame is now keeping track of focus separately - that means that frames that are not currently focused must return nullptr as their own focused node.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2155533</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-31 08:55:25 -0700</bug_when>
    <thetext>&lt;rdar://problem/163797834&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2155534</commentid>
    <comment_count>2</comment_count>
    <who name="Dominic Mazzoni">dm_mazzoni</who>
    <bug_when>2025-10-31 08:59:07 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/53260</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2156078</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-11-03 14:31:38 -0800</bug_when>
    <thetext>Committed 302501@main (ee35cc63fdab): &lt;https://commits.webkit.org/302501@main&gt;

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

    </bug>

</bugzilla>