Opened 13 years ago

Closed 12 years ago

#1142 closed enhancement (wontfix)

title and alttext for Toolbar icons

Reported by: robert.coup@… Owned by: Becky Gibson
Priority: high Milestone: 0.9
Component: Dijit Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

The icons in the toolbar (dojo.widget.Icon from Toolbar.js) are currently created with no ALT text and no TITLEs. Since they're used to generate tooltips on browsers, (and ALT is a required attribute anyway), would it be possible to set this as part of creating a toolbar item?

I would suggest initially:

  • tooltip attribute on a ToolbarButton?
  • icon's TITLE & ALT are set from the button tooltip attribute

Or alternatively use a dojo.widget.html.Tooltip based off the same attribute.

Obviously you can make it more complicated by having different tooltips for different states, having either tooltips or labels, ... but that will get complicated and nobody will probably use it anyhow. :)

Change History (4)

comment:1 Changed 13 years ago by dylan

Milestone: 0.6
Version: 0.3

comment:2 Changed 13 years ago by bill

Component: WidgetsDijit
Owner: changed from bill to liucougar

comment:3 Changed 12 years ago by liucougar

Milestone: 1.00.9
Owner: changed from liucougar to Becky Gibson

becky, could you take a look at this? Is this already covered by the new toolbar widget?

comment:4 Changed 12 years ago by Becky Gibson

Resolution: wontfix
Status: newclosed

this will not be fixed in the 0.4x branch but will be addressed in the dijit toolbar (#3815). However, since the toolbar buttons use background images there will be no alt text but the button text will be displayed in images off and high contrast mode.

Note: See TracTickets for help on using tickets.