<?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>240522</bug_id>
          
          <creation_ts>2022-05-17 09:10:03 -0700</creation_ts>
          <short_desc>[GTK] AX: Accessibility events missing for browser tab&apos;s contents when nothing is listening when page loads</short_desc>
          <delta_ts>2024-07-09 05:42:43 -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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</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="Joanmarie Diggs">jdiggs</reporter>
          <assigned_to name="Georges Basile Stavracas Neto">feaneron</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>jbicha</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1869699</commentid>
    <comment_count>0</comment_count>
      <attachid>459502</attachid>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2022-05-17 09:10:03 -0700</bug_when>
    <thetext>Created attachment 459502
accessible-event listener

Steps to reproduce:
1. Launch Epiphany using WebKitGtk 2.36 (Gtk 3).
2. Load a page (I&apos;m using https://en.wikipedia.org/wiki/Main_Page)
3. Launch the attached pyatspi accessible-event listener in a terminal
4. Tab among the focusable elements on the loaded page

Expected results: focus events would by logged in the terminal.
Actual results: focus events are not logged in the terminal.

Notes:
* If you swap steps 2 and 3 above, the problem doesn&apos;t occur.
* If you create a new tab and load the same page while the listener is still running, the problem doesn&apos;t occur.
* If you reload the page of the initial tab, events are still missing.
* If you follow links in the page of the initial tab (i.e. causing new pages to be loaded in that same tab), events are still missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869700</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-17 09:10:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/93428704&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1869715</commentid>
    <comment_count>2</comment_count>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2022-05-17 09:51:44 -0700</bug_when>
    <thetext>(In reply to Joanmarie Diggs from comment #0)

&gt; * If you swap steps 2 and 3 above, the problem doesn&apos;t occur.

Edit: It doesn&apos;t occur for the event(s) originally being listened to.

Example: Launching a new listener that listens not only for focus events, but also for caret-moved events. Only focus events will be emitted by that original page tab&apos;s document, because at the time that page tab&apos;s content was loaded, caret-moved events were not being listened to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037596</commentid>
    <comment_count>3</comment_count>
    <who name="Georges Basile Stavracas Neto">feaneron</who>
    <bug_when>2024-05-24 04:52:31 -0700</bug_when>
    <thetext>*** Bug 273944 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037630</commentid>
    <comment_count>4</comment_count>
    <who name="Georges Basile Stavracas Neto">feaneron</who>
    <bug_when>2024-05-24 07:40:32 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/29052</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045291</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-09 05:42:40 -0700</bug_when>
    <thetext>Committed 280770@main (e949df8b32a3): &lt;https://commits.webkit.org/280770@main&gt;

Reviewed commits have been landed. Closing PR #29052 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>459502</attachid>
            <date>2022-05-17 09:10:03 -0700</date>
            <delta_ts>2022-05-17 09:10:03 -0700</delta_ts>
            <desc>accessible-event listener</desc>
            <filename>listener.py</filename>
            <type>text/x-python</type>
            <size>257</size>
            <attacher name="Joanmarie Diggs">jdiggs</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9weXRob24zCgppbXBvcnQgcHlhdHNwaQoKZGVmIG9uRm9jdXNlZENoYW5nZWQo
ZSk6CiAgICBpZiBub3QgZS5kZXRhaWwxOgogICAgICAgIHJldHVybgoKICAgIHByaW50KCIlcyBp
cyBub3cgZm9jdXNlZCIgJSBlLnNvdXJjZSkKCnB5YXRzcGkuUmVnaXN0cnkucmVnaXN0ZXJFdmVu
dExpc3RlbmVyKG9uRm9jdXNlZENoYW5nZWQsICJvYmplY3Q6c3RhdGUtY2hhbmdlZDpmb2N1c2Vk
IikKcHlhdHNwaS5SZWdpc3RyeS5zdGFydCgpCgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>