Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#3815 closed defect (fixed)

Button: when no label is displayed, set title attribute on icon

Reported by: Becky Gibson Owned by: Becky Gibson
Priority: high Milestone: 0.9
Component: Accessibility Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


currently the title attribute is only assigned to buttons if they are created programmatically. Need to update the button code to assign the label from the containerNode to this.label if it doesn't already exist. Then assign title attribute to div containing the icon for the button. However when I implemented this (the title attribute on the div), the browser does not display the title on mouseover so needs more investigation.

Change History (3)

comment:1 Changed 15 years ago by Becky Gibson

Status: newassigned

discussed at July 23, 2007 dijit meeting. Need to add showLabel parameter to button

comment:2 Changed 15 years ago by Becky Gibson

Resolution: fixed
Status: assignedclosed

(In [9820]) fixes #3815 added showLabel parameter on button to display text label or not; When showLabel=false add title attribute to button so mouseover browser tooltip is displayed. Update toolbar styles so that label is NOT automatically turned off for buttons in a toolbar - dev must use showLabel=false to turn off label. Updated button templates with new attachPoint to set title: titleNode; updated button template to add waiRole and labelledby property so Window-Eyes screen reader would not speak button label twice. Update button and toolbar test pages for new showlabel parameter.

comment:3 Changed 13 years ago by bill

Summary: assign title attribute to button iconsButton: when no label is displayed, set title attribute on icon
Note: See TracTickets for help on using tickets.