Add buttons in "Edit Access" should move focus to the inserted row

Bug #1262899 reported by Jono M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Jono M

Bug Description

When sharing a page or collection (/view/access.php) the various Add buttons add a new row into the access table with Javascript, but for screen reader users who can't see the inserted row there is no indication that this has happened.
To make this more accessible, focus should be set to the new table row (or the first input in that row) when any Add button is pressed.

Affects latest master

Jono M (jonom)
Changed in mahara:
status: New → In Progress
assignee: nobody → Jono Mingard (mingard)
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/2985

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2985
Committed: http://gitorious.org/mahara/mahara/commit/83ff69713908e84d1882f332c635bc61676dec53
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 83ff69713908e84d1882f332c635bc61676dec53
Author: Jono Mingard <email address hidden>
Date: Tue Feb 4 17:13:56 2014 +1300

Use focus management in Edit access table (Bug #1262899)

Add buttons now set focus to the first input in the first added row.
These inputs have been given descriptive labels. Delete buttons set
focus to the entire table (or the table showing that no one has
access).

Change-Id: Ie04c46673395658b5d6a39b29306de456ae37d81
Signed-off-by: Jono Mingard <email address hidden>

Son Nguyen (ngson2000)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.9.0
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

Related blueprints

Remote bug watches

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