Jump to content
Search Community

frank_47340

Premium
  • Posts

    3
  • Joined

  • Last visited

Posts posted by frank_47340

  1. I think a workaround could be to dynamically add and remove aria-live. Something like

    document.getElementById("text").setAttribute("role", "alert");
    and
    document.getElementById("text").removeAttribute("role", "alert");
    together with onComplete
    

    But I doubt if this is a good practice. My point is that it would be very nice when there is a warning in the docs of textPlugin. For now I choose an other type of animation.

     

  2. 1 hour ago, OSUblake said:

    Have you tried using aria-label or aria-hidden?

    Thanx for the tip.... How do I combine aria-live with aria-label or aria-hidden? My goal is to inform that the content is changed....

  3. I tried textPlugin with screenreader (NVDA). It is in a aria-live region. Is not working well because the screenreader starts reading the begin of the sentence multiple times. Each time half the way of a sentence it begins again at the beginning. This is not very user-friendly. I think it is a good idea to warn the users of gsap in the docs?

×
×
  • Create New...