Re: native equivalent of aria-live with NVDA
As I often find myself saying on this list, it will help greatly if you described what you're trying to do. The context really matters here. For example:toggle quoted messageShow quoted text
1. If you're trying to develop or modify a Windows app to fire screen reader announcements, UIA does support a very similar concept to an ARIA live region. The technologies used to implement that app will determine how easily you can gain access to the functionality, e.g. in a .NET WinForms app it's as easy as adding a control to a form and setting its text. In a wxPython app, not so much.
2. If you just want your add-on to say something, import ui and use ui.message.
3. If you're developing an add-on for an application with an updating stream of text, like a console-style interaction, and you want NVDA to automatically speak text as it comes in, there are ways to do that which I've never quite managed to get my head around. Try NVDAObjects.window.DisplayModelLiveText as a starting point.
On 01/05/2021 at 2:20 pm, Florian Beijers wrote: