<?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>196349</bug_id>
          
          <creation_ts>2019-03-28 06:13:19 -0700</creation_ts>
          <short_desc>AX: ARIA live regions stop notifying of changes after having a certain number of child elements</short_desc>
          <delta_ts>2019-03-28 06:33:12 -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 12</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.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="Martin Pilkington">pilky</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1522046</commentid>
    <comment_count>0</comment_count>
      <attachid>366168</attachid>
    <who name="Martin Pilkington">pilky</who>
    <bug_when>2019-03-28 06:13:19 -0700</bug_when>
    <thetext>Created attachment 366168
HTML page to reliable reproduce ARIA live region bug with VoiceOver

Summary:
I have been attempting to use ARIA live regions to try and notify users of accessibility tools of changes to a list (acting as a chat message thread). Unfortunately, it seems that the notification of changes stops after the region contains a certain number of child elements. In the case of a &lt;ul&gt; element, notifications stop after I add 16 &lt;li&gt; elements. If I change to a &lt;div&gt; element with &lt;p&gt; child elements it stops notifying after there are 24 &lt;p&gt; elements. I have been unable to find any information in any specs or documentation around ARIA that specifies any upper limit.

I have tested this in both Safari 12.1 (14607.1.40.1.4) and the latest Safari Tech Preview (Release 78, WebKit 14608.1.9.1). I have also discovered the same issue in Chrome (73.0.3683.86). This make me think this is most likely either a WebKit bug or a VoiceOver bug (I&apos;ll also be filing a bug with Apple in case it is the latter). This is all on macOS 10.14.4

Reproducing:
I have attached a small HTML page that allows you to test both the above cases:

1. Open the arialivebug.html file in a WebKit-based browser on macOS
2. Enable VoiceOver (usually Command-F5)
3. Click the Start button below the List Test heading (you can change the value but 20 is a good number to show the bug)
4. Listen to VoiceOver notify the user of changes
5. After the List Test has finished, click the Start button for the Paragraph Test
6. Listen to VoiceOver notify the user of changes

Expected Result:
VoiceOver notifies the user of all changes to the live regions

Actual Result:
VoiceOver stops notifying the user of changes after 16 child elements in the list and 24 child elements in the div

Workaround:
From my testing it seems you can work around this by creating a new live region once the previous one is &quot;full&quot;. Of course this has the downside of making the HTML less semantic (which can harm accessibility in other ways), but does ensure users will always be notified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1522050</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-28 06:33:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/49377535&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>366168</attachid>
            <date>2019-03-28 06:13:19 -0700</date>
            <delta_ts>2019-03-28 06:13:19 -0700</delta_ts>
            <desc>HTML page to reliable reproduce ARIA live region bug with VoiceOver</desc>
            <filename>arialivebug.html</filename>
            <type>text/html</type>
            <size>1539</size>
            <attacher name="Martin Pilkington">pilky</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgoJPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCQlib2R5IHsKCQkJZGlzcGxh
eTpmbGV4OwoJCX0KCQlzZWN0aW9uIHsKCQkJbWFyZ2luOiA1cHggMTBweDs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