<?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>279214</bug_id>
          
          <creation_ts>2024-09-05 11:43:58 -0700</creation_ts>
          <short_desc>AX: VoiceOver does not echo deletions in a contenteditable region with programmatic value updates</short_desc>
          <delta_ts>2024-09-05 11:44:07 -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 17</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 14</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="Sarah Higley">sarahmhigley</reporter>
          <assigned_to name="Nobody">webkit-unassigned</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>2057988</commentid>
    <comment_count>0</comment_count>
    <who name="Sarah Higley">sarahmhigley</who>
    <bug_when>2024-09-05 11:43:58 -0700</bug_when>
    <thetext>Most web-based rich text editors use javascript to programmatically manage the text content of the contenteditable region, rather than relying on default browser insertion and deletion. A couple examples include the Facebook compose box, the twitter compose box, and the Lexical rich text editor (https://lexical.dev/).

On Safari, VoiceOver echos content insertion for these, but not deletion. On Chrome, VoiceOver reads both insertion and deletion. This appears to be a common enough experience that in several user studies on an rich text editor using Lexical, multiple VoiceOver users mentioned that they were familiar with the issue from elsewhere.

I created a simplified reproduction of several of the more common ways to handle text deletion with javascript in a contenteditable div:

- https://codepen.io/smhigley/pen/PordJoy?editors=1010
- (or use this link to access only the example UI without the Codepen editors): https://cdpn.io/pen/debug/PordJoy

VoiceOver currently does not echo deleted text for any of the three methods demonstrated in the Codepen when using Safari (tested on 17.6).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057989</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-05 11:44:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/135360396&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>