<?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>225656</bug_id>
          
          <creation_ts>2021-05-11 09:09:42 -0700</creation_ts>
          <short_desc>AX: changes to `contenteditable` are not noticed or communicated to VoiceOver</short_desc>
          <delta_ts>2023-06-03 11:24:47 -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 14</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Ben Cronin">bcronin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>spanage</cc>
    
    <cc>tyler_w</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1758918</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Cronin">bcronin</who>
    <bug_when>2021-05-11 09:09:42 -0700</bug_when>
    <thetext>### Steps: 
1. Open the Accessibility Inspector application on your computer.
2. Open page at https://bcronin2.github.io/toggling-contenteditable/.
3. WITHOUT checking the checkbox on the page, inspect each of the three `contenteditable` areas.
4. Check the checkbox on the page to remove the `contenteditable` and `role` attributes on the elements for each of these areas, and inspect each of the three areas again.

### Expected:
The &quot;type&quot; of each area should be updated to reflect the absence of the `contenteditable` and `role` attributes.

### Observed:
The &quot;type&quot; of each area remains exactly the same as it was before the attributes were removed.

Types when `contenteditable` is true:
&quot;presentation&quot; element: text entry area
&quot;textbox&quot; element: text field
&quot;region&quot; element: region

Types with `contenteditable` and roles removed:
&quot;presentation&quot; element (but no longer has role): text entry area
&quot;textbox&quot; element (but no longer has role): text field
&quot;region&quot; element (but no longer has role): region

It appears Safari doesn&apos;t communicate an update to the type of element it presents to the screen reader when we toggle off `contenteditable` (which it definitely should, as other browsers do).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758919</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-11 09:09:57 -0700</bug_when>
    <thetext>&lt;rdar://problem/77848452&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1913251</commentid>
    <comment_count>2</comment_count>
    <who name="Sommer Panage">spanage</who>
    <bug_when>2022-11-17 11:48:48 -0800</bug_when>
    <thetext>This appears to have resolved itself on our side - feel free to close. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>