Changeset 9864

Show
Ignore:
Timestamp:
07/30/07 12:18:19 (16 months ago)
Author:
becky
Message:

fixes #3903. Updated wairole for each color cell to gridcell. Updated template to give parent div the wairole of grid.

Location:
dijit/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/ColorPalette.js

    r9757 r9864  
    112112                                highlightNode.setAttribute("tabIndex","-1"); 
    113113                                highlightNode.title = color+ " "; //color name will go here 
    114                                 dijit.wai.setAttr(highlightNode, "waiRole", "role", "td"); 
     114                                dijit.wai.setAttr(highlightNode, "waiRole", "role", "gridcell"); 
    115115                                highlightNode.index = this._highlightNodes.length; 
    116116                                this._highlightNodes.push(highlightNode); 
     
    237237 
    238238        _navigateByKey: function(increment, typeCount){ 
    239                 // summary: 
     239                // summary:we 
    240240                //              This is the callback for typematic. 
    241241                //              It changes the focus and the highlighed color. 
  • dijit/trunk/templates/ColorPalette.html

    r9056 r9864  
    11<fieldset class="dijitInlineBox"> 
    2         <div style="overflow: hidden" dojoAttachPoint="divNode" > 
     2        <div style="overflow: hidden" dojoAttachPoint="divNode" waiRole="grid" tabIndex="-1"> 
    33                <img style="border-style: none;" dojoAttachPoint="imageNode" tabIndex="-1" /> 
    44        </div>