[MGNLUI-4628] Shortcut to focus find bar Created: 13/Sep/18  Updated: 24/Feb/20  Resolved: 13/Feb/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Task Priority: Neutral
Reporter: Cedric Reichenbach Assignee: Šimon Demočko
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0.5d
Time Spent: 1d 1h
Original Estimate: Not Specified

Attachments: PNG File Bildschirmfoto 2019-11-05 um 14.04.22.png    
Issue Links:
Issue split
split to MGNLUI-4978 Implement keyboard shortcuts for glob... Open
Relates
relates to MGNLUI-4557 Implement keyboard shortcuts in the g... Closed
relates to MGNLUI-4693 Find bar keyboard navigation: keyDown... Closed
relates to MGNLUI-5483 Promote opened apps in Find bar Closed
documentation
to be documented by MGNLUI-5592 DOC: List keyboard shortcuts for M6 UI Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Documentation update required:
Yes
Date of First Response:
Epic Link: Keyboard shortcuts
Sprint: UI Framework 16
Story Points: 5

 Description   

In order to leverage quick navigation potential, a keyboard shortcut should be in place to give focus to the find bar.

A quick research concluded that "/" (slash) is a common shortcut to focus on search field (see image attached).

 

Acceptance criteria:

  • Hitting "/" (slash) on the keyboard focuses the find bar.

Alternative resolution:

CMD + / implemented instead. Implementing "/" will require client side changes. This will be necessary for all global single-character shortcuts. In that issue (MGNLUI- 4978) rewriting for "/" can be handled.



 Comments   
Comment by Roman Kovařík [ 13/Sep/18 ]

Moved to UI as the findbar is being moved there.

Comment by Mikaël Geljić [ 08/Jan/19 ]

single key shortcuts are more common these days in webapps too I'd say
here's a "reference“ read on that https://medium.com/@sashika/j-k-or-how-to-choose-keyboard-shortcuts-for-web-applications-a7c3b7b408ee

—via https://magnolia-cms.slack.com/archives/CDGDQ5S2J/p1539077653125946

Comment by Cedric Reichenbach [ 08/Jan/19 ]

As mentioned before, single-key shortcuts are somewhat problematic with regards to usability since they cannot work while a text field has focus, and vice versa may be triggered inadvertently.
Those drawbacks also have implications on accessibility and are addressed in W3C's Web Content Accessibility Guidelines, so we may want to follow the criteria there. The W3C also has a detailed explanation of the problems leading to that rule, particularly with regards to speech input users.

Comment by Šimon Demočko [ 12/Feb/20 ]

CMD + / implemented instead. Implementing "/" will require client side changes. This will be necessary for all global single-character shortcuts. In that issue rewriting for "/" can be handled.

 

Generated at Mon Feb 12 09:18:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.