Focus should be set to search results if they are loaded with AJAX

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

Bug Description

When searching for content in Mahara, most of the time the search results are loaded with Javascript, so to a screen reader user it seems like nothing happens when pressing the search button. Examples include
- Elasticsearch (sitewide search)
- Groups -> Group "Members" tab
- Groups -> Find friends

When the search button is pressed, focus should be set to the first search result (or somewhere else logical, like the results heading).

Affects latest master

Jono M (jonom)
Changed in mahara:
milestone: none → 1.9.0
Jono M (jonom)
Changed in mahara:
status: New → In Progress
assignee: nobody → Jono Mingard (mingard)
Jono M (jonom)
description: updated
Revision history for this message
Jono M (jonom) wrote :

Moved Administration section issues into Bug #1267296

description: updated
Jono M (jonom)
description: updated
Revision history for this message
Steven (stevens-q) wrote :

=== Bug #1266923 Focus should be set to search results if they are loaded with AJAX ===

== How to test ==
1. Browse to the following pages and conduct a search
 a. Find Group members http://steven.wgtn.cat-it.co.nz/group/members.php?id=1
 b. Find Groups http://steven.wgtn.cat-it.co.nz/group/find.php?filter=all
 c. Find Friends http://steven.wgtn.cat-it.co.nz/user/find.php
2. Confirm that the functionality of the search is working and results are displayed

== Test Results ==
2. Confirmed that the functionality of the search is working and results are displayed ✔

Catalyst QA Approved ✔

Jono M (jonom)
tags: added: wcag
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit 572d93fc9bd6ff5fa0a7e23920bada5b5d20758c
Author: Jono Mingard <email address hidden>
Date: Thu Jan 9 15:39:20 2014 +1300

Set focus to search results if loaded with JS (Bug #1266923)

Added hidden "Results" headings to search results for group Members and
Find friends which are focused when an AJAX search completes. Focuses
existing results display for elasticsearch.

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

Son Nguyen (ngson2000)
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

Related blueprints

Remote bug watches

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