As a user field focussing and tabbing should work well in dialogs (MGNLUI-1978)

[MGNLUI-1558] Focus the first keyboard-editable field or the default button in the dialog Created: 05/Jun/13  Updated: 08/May/14  Resolved: 08/May/14

Status: Closed
Project: Magnolia UI
Component/s: dialogs, forms
Affects Version/s: 5.0
Fix Version/s: 5.2.5, 5.3

Type: Sub-task Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: keyboard, usability, ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-321 Dialogs: fix focus order and put focu... Closed
relation
is related to MGNLUI-2875 Focus not always on first keyboard-ed... Closed
Template:
Date of First Response:

 Description   

When a dialog is open, it would be nice if the focus is set to the first keyboard-editable field in the dialog or on the default button, if there are no input fields at all.

When a dialog is opened or reloaded, the focus should be:

  • on the first input field, if there are no errors to be shown.
  • on the field with the first error, if there are only errors or if there are errors and warnings.
  • on the field with the first warning, if there are only warnings.
  • on the default button, if there are no input fields at all.


 Comments   
Comment by Mikaël Geljić [ 08/May/14 ]

Found a basic way to restore this feature, now that alerts/confirms set focus explicitly on their own; BaseDialog no longer needs to be focused — we'll focus its first field instead.

Generated at Mon Feb 12 08:47:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.