Separators between items in user menu should be in CSS, not HTML

Bug #1279996 reported by Jono M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Robert Lyon

Bug Description

The '|'s that separates items in the user menu (top right, Firstname Lastname, Settings, Inbox, Logout) is currently in the HTML, which means that they are read out as "vertical bar" by some screen readers. This is annoying as the text is only supposed to be decorative.
Either the '|'s should be changed to borders or the :before/:after pseudo-elements should be used to draw them. Note that pseudo-elements are supported in IE8 and up so compatibility isn't a problem.

Affects latest master

Revision history for this message
Jono M (jonom) wrote :

This would also allow us to remove the first one in the responsive theme, where the username is on a separate line to the other links

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/3381

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 1.10.0
assignee: nobody → Robert Lyon (robertl-9)
status: New → In Progress
Revision history for this message
Aaron Wells (u-aaronw) wrote :

There are also some more |'s in the performance info footer. (Add "$cfg->perftofoot = true;" to your config.php file.)

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

Reviewed: https://reviews.mahara.org/3381
Committed: http://gitorious.org/mahara/mahara/commit/b8e2fde51220a7bea3527d8e6584363b73a657b6
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit b8e2fde51220a7bea3527d8e6584363b73a657b6
Author: Robert Lyon <email address hidden>
Date: Mon May 26 10:05:23 2014 +1200

Changing separating | to be border line (Bug 1279996)

To avoid the separating line between items in top right menu and in
the footer menu being read by some screen readers I've changed the
pipe char to be css border left.

Also dropped one of the top menu border bars when on small screens

Change-Id: I3e23fbf8fbad2480c9e9aaae56eda60fc7dede66
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
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.