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

Bug #1387341 reported by Robert Lyon on 2014-10-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

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

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

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) on 2015-04-17
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