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
Allow live regions to be disabled. #9077
Comments
Sounds like a great idea and the behavior I expected in the first place. It would also be nice to provide callbacks on the Python level when a live region fires, so that appmodules or addons can decide if they should be spoken or not. A good case is the Windows 10 updates window in Settings. It floods NVDA with live region updates to indicate the status of every update multiple times, making it hard to see what is going on. With some more smart filtering, these message might be useful, but the logic would be very specific to this case. |
Any update on this? I came here to report this specifically. Live regions represent the very definition of dynamic content changes, but yet NVDA+5 has no impact on them at all. |
I've recently tried to send some accessibility feedback to Google using the following form |
Updates to ARIA live regions are now suppressed when reporting of dynamic content changes is disabled. ### Summary of the issue: The same logic was used for sending external applications speech to core and to send live region messages to core. ### Description of the Fix NVDAControllerInternal_speakMessage used to be used to send live regions at NVDA, which made it impossible to differentiate them from messages sent from external applications through the controller client. This change separates the passage of live regions into another function, nvdaControllerInternal_reportLiveRegion(wchar_t* text, wchar_t* level); which is part of the NVDAControllerInternal interface instead of the NVDAController interface. This is because I don't see a reason for non NVDA specific DLL's to call into this. This function is then used in place of speakText in ia2LiveRegions.cpp. Fixes #9077, Unblocks #7756, Closes #7743 Co-authored-by: Leonard de Ruijter <alderuijter@gmail.com> Co-authored-by: Michael Curran <mick@nvaccess.org> Co-authored-by: Reef Turner <reef@nvaccess.org>
I am proposing allowing live regions to be disabled. I'm planning to control this with the report dynamic content changes setting, which could be set in profiles as well. Ideally, you'd be able to control on a per site | per region basis, but that isn't easy for us to do yet.
The idea would be to speak live regions when this setting is on, and nvda+5 will be finally able to stop monster pages (pages that read live regions incessantly). PR coming to plum live regions from IA2 through to a callback first, please comment on this proposal.
The text was updated successfully, but these errors were encountered: