Replies: 1 comment 1 reply
-
|
@majornista do you have any opinions? we did intentionally decide to move focus to the last focused element in an landmark when navigating through them again because that seemed to retain more context, but if other more native landmark implementations are behaving a different way, maybe we should re-evaluate it looks like VO also always goes to the start of the landmark |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We've started using
useLandmarkto provide global keyboard shortcuts for landmark nav for users without a screen reader.One thing I've noticed that has deeply surprised me is that, when I tab into a specific
buttonwithin anasidelandmark, press F6 to go to the nextmainlandmark, and then Shift+F6 to return to my previousasidelandmark, that verybuttonreceives focus.I would have expected focus to return to the start of the
asidelandmark instead. This is what NVDA does, for instance.Having shown our implementation to accessibility experts, they commented on the behaviour and also found it unexpected.
I am curious if there is a specific rationale behind that, and particularly if user research was conducted. If it is unclear whether your chosen approach is better than NVDA's, I'm also curious if you'd be open to a config flag controlling that behaviour in the hook.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions