<?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>286267</bug_id>
          
          <creation_ts>2025-01-20 08:56:16 -0800</creation_ts>
          <short_desc>AX: VoiceOver does not announce text preceding some phrasing elements</short_desc>
          <delta_ts>2025-09-09 09:02:55 -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>macOS 15</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="Adrian Roselli">aroselli</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>dani</cc>
    
    <cc>tyler_w</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2088528</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-01-20 08:56:16 -0800</bug_when>
    <thetext>In a test using `&lt;mark&gt;`, `role=&quot;mark&quot;`, `role=&quot;deletion&quot;`, or `role=&quot;insertion&quot;`, VoiceOver with Safari does not announce the opening of the sentence, instead jumping to where the element starts.

To replicate:

1. Open Safari and activate VoiceOver
2. Go to https://cdpn.io/aardrian/debug/rNRxZmP
3. Use the `read-all` command (VO + A)
4. Observe how, for most paragraphs, the first words are not announced.

Other notes:

* The unannounced text appears in the speech viewer.
* The unannounced text appears in the Braille viewer.
* The text is announced using other navigation methods.
* The text is announced in Chrome when using read-all.
* The text is announced in Firefox when using read-all.
* Code visible at https://codepen.io/aardrian/pen/rNRxZmP

More details:

* The buggy MARK examples only start announcing at `&lt;mark&gt;`, `&lt;mark role=&quot;mark&quot;&gt;`, and `&lt;span role=&quot;mark&quot;&gt;`.

* The buggy DEL examples only start announcing at `&lt;del role=&quot;deletion&quot;&gt;` and `&lt;span role=&quot;deletion&quot;&gt;`. There is no issue with `&lt;del&gt;`.

* The buggy INS examples only start announcing at `&lt;ins role=&quot;insertion&quot;&gt;` and `&lt;span role=&quot;insertion&quot;&gt;`. There is no issue with `&lt;ins&gt;`.

* The buggy S examples only start announcing at `&lt;s role=&quot;deletion&quot;&gt;` and `&lt;span role=&quot;deletion&quot;&gt;`. There is no issue with `&lt;s&gt;`.

The attached video demonstrates this. It has no captions.

Possibly related:

The following bugs also have clipped announcements, though the scenarios and elements are far different:

* 249154: AX: Role of combobox on button cuts off screen reader announcement (voice over) https://bugs.webkit.org/show_bug.cgi?id=249154

* 285047: AX: combobox button value text clipped https://bugs.webkit.org/show_bug.cgi?id=285047</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088529</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-20 08:56:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/143272808&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088530</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-01-20 09:04:51 -0800</bug_when>
    <thetext>Trying to attach a 1.41 MB video, but keep getting a &quot;413 Request Entity Too Large&quot; error, even though the file upload screen says files up to 1GB are allowed. Will try again later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088984</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-01-22 07:45:16 -0800</bug_when>
    <thetext>Ok, still cannot upload video (tried multiple days and browsers). You can get to the video in this Masto post:
https://toot.cafe/@aardrian/113861850234398134</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2109183</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-04-05 17:38:26 -0700</bug_when>
    <thetext>This has regressed. Using VoiceOver / macOS 15.4 / Safari 18.4 now the elements `&lt;del&gt;`, `&lt;ins&gt;`, and `&lt;s&gt;` are impacted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2119673</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Koskinen">dani</who>
    <bug_when>2025-05-26 02:29:49 -0700</bug_when>
    <thetext>I can confirm the continuing existence of this bug, tested on Safari 18.5 (20621.2.5.11.8) on macOS 15.5 (24F74).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133233</commentid>
    <comment_count>6</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-07-29 15:00:04 -0700</bug_when>
    <thetext>I&apos;ve filed issues against the web compat / Baseline tables as a result of this bug:

• https://github.com/mdn/browser-compat-data/issues/27443
• https://github.com/mdn/browser-compat-data/issues/27444
• https://github.com/mdn/browser-compat-data/issues/27445
• https://github.com/mdn/browser-compat-data/issues/27446

I&apos;ll file PRs to change the support notes and close those issues in a week or so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134407</commentid>
    <comment_count>7</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-08-05 08:31:05 -0700</bug_when>
    <thetext>PRs filed:

• https://github.com/mdn/browser-compat-data/pull/27506
• https://github.com/mdn/browser-compat-data/pull/27507
• https://github.com/mdn/browser-compat-data/pull/27509
• https://github.com/mdn/browser-compat-data/pull/27510</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141183</commentid>
    <comment_count>8</comment_count>
    <who name="Tyler Wilcock">tyler_w</who>
    <bug_when>2025-09-05 07:07:52 -0700</bug_when>
    <thetext>Hello Adrian! Thanks very much for filing this.

There was a VoiceOver-side fix to address this in macOS Tahoe 26. I have the beta installed and just gave your test page a try and did hear all text announced. I&apos;m going to close this as resolved, but please do not hesitate to re-open if you find otherwise. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141849</commentid>
    <comment_count>9</comment_count>
    <who name="Adrian Roselli">aroselli</who>
    <bug_when>2025-09-09 04:57:04 -0700</bug_when>
    <thetext>Tyler, thanks for the note. When I get the release version of macOS 26 I&apos;ll confirm it (and come back here if there are issues).

In the meantime, can you tell me if this issue was in VoiceOver or Safari? Asking because my testing suggested it was Safari (given other browsers on macOS with VoiceOver did not exhibit it). This would be helpful in properly classifying this bug in Can I Use, Baseline, and other browser compat resources.

Similarly, when working with clients and users on this issue, is there any way for them to get the fix _without_ updating their macOS version? I want to know if user-facing guidance to working around it involves a system update or just a Safari release update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141892</commentid>
    <comment_count>10</comment_count>
    <who name="Tyler Wilcock">tyler_w</who>
    <bug_when>2025-09-09 09:02:55 -0700</bug_when>
    <thetext>This indeed was a VoiceOver side fix! Whether the bug manifested came down to differences in how browsers expose text, and expose these &quot;marked text&quot;-style semantics through the accessibility API, which is why other browsers were not affected. Folks will need to update to macOS 26 to get this fix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>