Ticket #5343: 5343.patch
File 5343.patch, 1.7 KB (added by , 14 years ago) |
---|
-
_source/plugins/listblock/plugin.js
195 195 196 196 this.element.getDocument().getById( itemId + '_option' ).setAttribute( 'aria-selected', true ); 197 197 this.element.setAttribute( 'aria-activedescendant', itemId + '_option' ); 198 199 this.onMark && this.onMark( item ); 198 200 }, 199 201 200 202 unmark : function( value ) 201 203 { 202 204 this.element.getDocument().getById( this._.items[ value ] ).removeClass( 'cke_selected' ); 205 this.onUnmark && this.onUnmark( this._.items[ value ] ); 203 206 }, 204 207 205 208 unmarkAll : function() … … 211 214 { 212 215 doc.getById( items[ value ] ).removeClass( 'cke_selected' ); 213 216 } 217 218 this.onUnmark && this.onUnmark(); 214 219 }, 215 220 216 221 isMarked : function( value ) -
_source/plugins/panel/plugin.js
244 244 245 245 this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block ); 246 246 247 block.onMark = function( item ) 248 { 249 holder.setAttribute( 'aria-activedescendant', item.getId() + '_option' ); 250 }; 251 252 block.onUnmark = function() 253 { 254 holder.removeAttribute( 'aria-activedescendant' ); 255 }; 256 247 257 block.show(); 248 258 249 259 return block; … … 303 313 if ( CKEDITOR.env.webkit ) 304 314 item.getDocument().getWindow().focus(); 305 315 item.focus(); 316 317 this.onMark && this.onMark( item ); 306 318 } 307 319 }, 308 320