Attachments section for Text box blocks is not accessible

Bug #1279530 reported by Jono Mingard on 2014-02-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jono Mingard

Bug Description

Text box blocks have their attachments collapsed by default to save space and minimise complexity. However, the element to toggle the visibility of the attachments is not keyboard-focusable and can therefore not be accessed by screen reader users.
This needs to be changed to use an <a> or <button> element and should focus the first attachment title when expanded.

Affects latest master

(WCAG Level A)

Jono Mingard (mingard) wrote :

(First noticed by Evonne)

Jono Mingard (mingard) on 2014-02-13
Changed in mahara:
status: Confirmed → In Progress
assignee: nobody → Jono Mingard (mingard)

Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 9d52504dff4bf1894cdf37602e8c67d2ee7bffd2
Author: Jono Mingard <email address hidden>
Date: Thu Feb 13 13:51:10 2014 +1300

Made Attachments expander keyboard-accessible (Bug #1279530)

- Changed trigger to an anchor instead of a <td>, moved js file out of resume (since
resume isn't the only thing using it) and added focus management - the first link in
the expander is focused when it's opened
- Modified the expander in Cookie Consent 2 to use the same logic
- Fixed Resume blocktypes, which were no longer displaying properly after the change

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

Aaron Wells (u-aaronw) on 2014-02-26
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