Show
Ignore:
Timestamp:
07/26/07 13:17:39 (18 months ago)
Author:
becky
Message:

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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/form/templates/ComboButton.html

    r9802 r9820  
    55                <td     class="dijitStretch dijitButtonContents dijitButtonNode" 
    66                        tabIndex="${tabIndex}" 
    7                         dojoAttachEvent="onklick:_onButtonClick" 
     7                        dojoAttachEvent="onklick:_onButtonClick"  dojoAttachPoint="titleNode" 
    88                        waiRole="button" waiState="labelledby-${id}_label"> 
    9                         <div class="dijitInline ${iconClass}" title="${label}"></div> 
     9                        <div class="dijitInline ${iconClass}"></div> 
    1010                        <span class="dijitButtonText" id="${id}_label" dojoAttachPoint="containerNode">${label}</span> 
    1111                </td>