"Add block" accordion has useful descriptions only available to screen reader users

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

Bug Description

Each button in the page editor's "Add block" accordion has a screen-reader-only description (eg. "Image" is described as "A single image from your files area"). This is actually quite useful, so it would be nice if this could be accessed by sighted users as well (eg. by having it as the title attribute of the surrounding link)

Also, these descriptions appear before the name of the block, making it hard to know what the actually title of the block is. Since they're essentially a subtitle, they should be moved so that they are read out after the title.

Affects latest master

Jono M (jonom)
description: updated
Jono M (jonom)
Changed in mahara:
status: Confirmed → 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/5191

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

Reviewed: https://reviews.mahara.org/5191
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/0daa91c64ee898af7d492337766dda670d2c2c37
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 0daa91c64ee898af7d492337766dda670d2c2c37
Author: Jono Mingard <email address hidden>
Date: Fri Aug 28 15:22:43 2015 +1200

Fix descriptions in Add block accordion (Bug #1482461)

- Move the description after the title, to make the flow more
logical for screen reader users
- Also add the description as the title attribute of the link, so
it can be accessed by mouse users

behatnotneeded

Change-Id: I1c0369a1dcbe8216a244d24438e52fadfba39c10

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 15.10.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

Remote bug watches

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