Opened 15 years ago
Closed 14 years ago
#1142 closed enhancement (wontfix)
title and alttext for Toolbar icons
Reported by: | 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 15 years ago by
Milestone: | → 0.6 |
---|---|
Version: | → 0.3 |
comment:2 Changed 14 years ago by
Component: | Widgets → Dijit |
---|---|
Owner: | changed from bill to liucougar |
comment:3 Changed 14 years ago by
Milestone: | 1.0 → 0.9 |
---|---|
Owner: | changed from liucougar to Becky Gibson |
comment:4 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
becky, could you take a look at this? Is this already covered by the new toolbar widget?