<?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>266456</bug_id>
          
          <creation_ts>2023-12-14 21:00:14 -0800</creation_ts>
          <short_desc>AX: Change to element&apos;s aria-describedby value doesn&apos;t update its announced description</short_desc>
          <delta_ts>2024-06-25 12:34:38 -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>iPhone / iPad</rep_platform>
          <op_sys>iOS 17</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="Darin Senneff">darin.senneff</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>1999807</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Senneff">darin.senneff</who>
    <bug_when>2023-12-14 21:00:14 -0800</bug_when>
    <thetext>When using iOS Safari + VoiceOver (17.2): if an item has a description set via the &apos;aria-describedby&apos; attribute, and then the value of &apos;aria-describedby&apos; changes, the item&apos;s announced description doesn&apos;t update.

Steps to reproduce:
1. Visit test link in iOS Safari with VoiceOver: https://codepen.io/dsenneff/pen/xxMoReR/b0a1de7d369927086875385bbe2139cd?editors=1010
2. Navigate to the &apos;apple&apos; button and hear the announcement: &apos;apple, description fruit&apos;. Observe in devtools that the item&apos;s &apos;aria-describedby&apos; value points to the &apos;fruit&apos; element.
3. Activate the button, which swaps its &apos;aria-describedby&apos; value. Observe in devtools that the item&apos;s &apos;aria-describedby&apos; value does change to point to the &apos;vegetable&apos; element.
4. Navigate away from the button, then back to it and hear the original announcement: &apos;apple, description fruit&apos;

The button&apos;s announcement should change to reflect the updated description, &apos;apple, description vegetable&apos;, but it does not.

Other browser + screen reader combinations do update the element&apos;s description, including MacOS Safari + VoiceOver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999808</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-14 21:00:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/119703619&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2043004</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Senneff">darin.senneff</who>
    <bug_when>2024-06-25 12:34:38 -0700</bug_when>
    <thetext>Issue still present in iOS 18&apos;s developer beta #2, despite the iOS 18 beta&apos;s release notes including the following text:

&quot;Fixed updating &apos;aria-describedby&apos; text after the targeted element changes its subtree.&quot;
-Source: https://webkit.org/blog/15443/news-from-wwdc24-webkit-in-safari-18-beta/#bug-fixes-and-more

Safari + VoiceOver&apos;s handling of accessible descriptions continues to be a huge support gap. Oftentimes, an accessible description is used to provide error or status messages, or instructions, which may change after initial page load. Being unable to rely on this consistently means developers can&apos;t reliably provide certain information to screen reader users in Safari browsers.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>