Prevent screen reader to read all content when opening a dialog
-
Hi,
for one project where I contribute, we have a lot of dialogs when user can open or close.
One of there is a private message dialog, but this cause an accessibility issue, when this dialog is open, screen reader try to read all content of this, and when conversation is big, this cause screen reader to freeze until he stop to read all window's content.
This is also present when window is open and give focus.
If necessary I can send a part of .ui file for this window.
Do you know a method to prevent this behavior, maybe we have to use QAccessible, or QAccessibleEvent or QAccessibleInterface, but I don't know how.
Thanks for your help. -
Hi,
Rather than having one single block of big text, you could maybe split them in smaller chunks like a QListView showing on entry per line of text.
-
Hi
Just as a note.
Can you try adding a Qlabel with<div aria-hidden="true"> <p>This element will is hidden from screen readers.</p> <div>
as Rich text and see if it still reads it ?
-
What about splitting the content ?