Allowing tabs menus to have a 'title' attribute on the A tag

Bug #1387341 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon

Bug Description

Sometimes the text for the <a> tag is not enough, as we need to take into consideration responsive design, so need one or two word descriptions.

It would be useful to have the ability to have an alternative 'title' attribute as well for a fuller explanation of what the tab is for.

Eg:
  <a href="#">Compose</a>

could be made clearer with
  <a title="Create a new notification message" href="#">Compose</a>

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

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

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

commit 7b0a196047bd882c2496b02289366f25aa96bc89
Author: Robert Lyon <email address hidden>
Date: Thu Oct 30 09:17:51 2014 +1300

Adding 'title' attribute to tab link (Bug #1387341)

Ideally the new attribute should be called 'title' in the array used
to populate the tabs - but as we've called the link text 'title' it's
not worth changing that to 'text' and having the new attribute =
'title' so I've called it 'tooltip' in the array.

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

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

Remote bug watches

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