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

Bug #1266923 reported by Jono Mingard on 2014-01-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Jono Mingard

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 Mingard (mingard) on 2014-01-08
Changed in mahara:
milestone: none → 1.9.0
Jono Mingard (mingard) on 2014-01-09
Changed in mahara:
status: New → In Progress
assignee: nobody → Jono Mingard (mingard)
Jono Mingard (mingard) on 2014-01-09
description: updated
Jono Mingard (mingard) wrote :

Moved Administration section issues into Bug #1267296

description: updated
Jono Mingard (mingard) on 2014-01-09
description: updated
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 Mingard (mingard) on 2014-01-26
tags: added: wcag

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) on 2014-02-09
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2014-04-22
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints