feat(core): keyboard navigation and focus shortcut for unified search#62157
Conversation
2c9d44c to
a1ff563
Compare
a1ff563 to
decf927
Compare
|
Works in Orca, had to restart browser. Also tested NVDA on Windows. |
e20fdcc to
bcc4dc0
Compare
375aebd to
fa8cf00
Compare
kra-mo
left a comment
There was a problem hiding this comment.
I tested it out, really really nice :)
The UI for the selection highlight I'm guessing is out of scope for this, but will be changed, right?
(Switching apps like this is great!)
Yes, there is a separate sub-task for reworking the UI. This is mostly just for a11y |
494075a to
c3b24c4
Compare
|
/compile amend |
c3b24c4 to
64ef6f5
Compare
susnux
left a comment
There was a problem hiding this comment.
Overall looks good, could you add e2e tests (playwright) for this feature?
64ef6f5 to
5f5a62e
Compare
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5f5a62e to
86537bf
Compare
|
/compile amend |
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1c433f8 to
55a94d3
Compare
jancborchardt
left a comment
There was a problem hiding this comment.
Very cool @pringelmann! :) Makes search a lot more reachable
Summary
Adds the combobox keyboard model and a global focus shortcut to the new unified search.
Header input is a
combobox: up/down arrows move a highlighted result viaaria-activedescendant(focus stays in the input), Enter opens it, first result is auto-selected, and anaria-liveregion announces searching/result counts.Also added global focus shortcut ⌘/Ctrl+K.
Before:
After:
Not included
aria-selectedand dropping the result tab-stops need a small@nextcloud/vue(NcListItem) change, tracked as a follow-up for this subtask.Checklist
enhancement,3. to review, unified-search)AI (if applicable)