When setting up an institution, put the focus on the first form field 'Institution name'

Bug #1912166 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Gold

Bug Description

When you add an institution to the site, the first form field is not focussed, requiring you to click into it before you can get started. It would be better to focus it directly. It is also an accessibility improvement.

To replicate:

1. Go to Admin menu -> Institutions -> Settings -> Add.
2. On the next page you see the form.
Expected result: The field 'Institution name' is focussed (and thus has the field outline).
Actual result: Nothing is focussed.

tags: added: accessibility
Revision history for this message
Gold (gold.catalyst) wrote :

Check on other pages how this focusing is achieved.

Changed in mahara:
assignee: nobody → Gold (gold.catalyst)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11539

Revision history for this message
Gold (gold.catalyst) wrote :

Testing:

1. Go to Admin menu -> Institutions -> Settings -> Add.
2. Assert the "Institution name" field has focus with no additional user interaction.

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11539
Committed: https://git.mahara.org/mahara/mahara/commit/8fe0ee45d226fac7da1ce29639322ac328a8d7bb
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 8fe0ee45d226fac7da1ce29639322ac328a8d7bb
Author: Gold <email address hidden>
Date: Wed Feb 3 09:19:41 2021 +1300

Bug 1912166 - Make Institution name auto focus.

Change-Id: I7b7359896aa52aa5deb364c78a610314c0861737

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.