nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.09k stars 629 forks source link

Add method in Api module to move keyboard focus #8212

Open Neurrone opened 6 years ago

Neurrone commented 6 years ago

Just started learning addon development, and am surprised there isn't a built-in way to do this, as this is a common task.

Brian1Gaff commented 6 years ago

Is this not what object and screen nav allow one to do? Brian

bglists@blueyonder.co.uk Sent via blueyonder. Please address personal E-mail to:- briang1@blueyonder.co.uk, putting 'Brian Gaff' in the display name field. ----- Original Message ----- From: "Dickson Tan" notifications@github.com To: "nvaccess/nvda" nvda@noreply.github.com Cc: "Subscribed" subscribed@noreply.github.com Sent: Saturday, April 28, 2018 11:26 AM Subject: [nvaccess/nvda] Add method in Api module to move keyboard focus (#8212)

Just started learning addon development, and am surprised there isn't a built-in way to do this, as this is a common task.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/nvaccess/nvda/issues/8212

Neurrone commented 6 years ago

@Brian1Gaff for addon development, e.g pressing a hotkey to move focus to another part of the application.

Adriani90 commented 4 months ago

@josephsl since you maintained golden cursors for a long time, this is moving the mouse cursor but still it is focus related. Do you think this request is relevant? @Neurrone can you please elaborate more on what exactly you want to achieve?

Neurrone commented 4 months ago

As the issue title says, there isn't a way to move keyboard focus to a specific element that is able to gain focus. This is useful if there is no native shortcut to get to a specific part of an application. For example, pressing f6 to cycle between different parts of the application.