-
-
Notifications
You must be signed in to change notification settings - Fork 436
splide__sr ellipses is read by screenreader #805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hm, what character should I use? |
Hi @NaotoshiFujita - Is there no way to have voiceover skip it entirely? Would there be a downside to putting |
It should not be hidden from screen readers to make the live region work. If you disable the Currently, I have no idea to solve the issue. The character should be recognized by screen readers but not announced. Major screen readers don't read "…", but voice over does 🤮 |
The By the way, the ellipses is also read by VoiceOver, along with the other new text, when you navigate with arrows. |
I tried changing it to an empty string, but that doesn't seem to keep One option would be to put something less arbitrary for VoiceOver, such as |
Right, an empty string (and \n, \t, etc...) does not trigger live region.
Yes, that is one of solutions. But... I'd like to avoid inserting such a string if possible. Well, can you try this branch when you have time, Jonathan?
|
Sure! I'm using react-splide but I can try this out soon. |
splide3x.movI really like your idea here, and it works for when you navigate through the new items, but unfortunately "ellipses" is read 2 or 3 times when I click the forward arrow. |
Mmm, your VoiceOver acts differently with mine 😮 What if you disable |
right, then VoiceOver doesn't announce the new content. |
I made another approach on the same branch(v4.0.4). npm i Splidejs/splide#live My VoiceOver seems working well for now. Can you please check it? |
It works! Thanks so much. 🥳 Looking forward to the update in react-splide |
Done! ✨ |
Thanks again |
Checks
Version
v4.0.2
Description
The splide__sr ellipses is read by screenreaders, which is confusing since it should be hidden.
finalSplide.mov
Reproduction Link
https://splidejs.com/
Steps to Reproduce
Expected Behaviour
Voiceover should skip
The text was updated successfully, but these errors were encountered: