How does Gmail automatically override NVDA single letter navigation?
I noticed that when using Gmail, the j and k shortcuts for navigating the message list work without first disabling NVDA "single letter navigation". How is this achieved? I'd like my app to work like this.
Steps to reproduce:
- Open Gmail and login.
- Press the
jandkkeys to navigate up and down the list of messages.
Actual behavior:
j and k keys navigate through the list of messages.
Expected behavior:
Expected that NVDA would default to "single letter navigation", like it does for other web apps, requiring NVDA + shift + space to be pressed in order to turn single letter navigation off before j and k worked for navigating the list of messages.
System configuration
NVDA installed/portable/running from source: Installed
NVDA version: 2019.1.1
Windows version: 10 Pro
Name and version of other software in use when reproducing the issue: Firefox Developer Edition, 69.0b10 (64-bit).
Other information about your system: Running in Parallels Desktop.
Other questions
Does the issue still occur after restarting your PC? Persists
Have you tried any other versions of NVDA? If so, please report their behaviors. n/a
I can't reproduce this on Chrome 76.0.3809.100 on Windows 10 1903.
This is a Gmail feature and it is not enabled by default. If you want to implement similar feature in a website or desktop application.Just write a keyboard shortcut on your own.
On Thu, Aug 8, 2019 at 7:39 PM Bill Dengler [email protected] wrote:
I can't reproduce this on Chrome 76.0.3809.100 on Windows 10 1903.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/10047?email_source=notifications&email_token=AKAIMGI535KOSTTIWVSZSNTQDQAX7A5CNFSM4IKBYXZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33K2TQ#issuecomment-519482702, or mute the thread https://github.com/notifications/unsubscribe-auth/AKAIMGK2RQBHEUYISJLL6BDQDQAX7ANCNFSM4IKBYXZA .
So just to clarify things a bit, check out the difference between Twitter and Gmail. In Gmail, the j and k shortcuts work immediately. In Twitter, the user is first required to exit single letter navigation by pressing NVDA + shift + space, then the j and k shortcuts become active.
Why do the j/k shortcuts work immediately in Gmail, but not in Twitter? How does Gmail accomplish this?
I guess in GMail the shortcuts are directly linked only to the system focus and the focus mode while in Twitter the gestures are also registered in the virtual buffer. But I am not 100% sure. Maybe @josephsl can help clarify this?
Actually the approach from twitter is the ideal one because you are not forced to use focus mode in their application if you want to use their own shortcuts.
that means in twitter you can use their shortcuts also in browse mode but you only have to disable the quick navigation keys provided by NVDA which is done by pressing nvda+shift+space.
Closing this issue. We can discuss further questions on gitter if required.