Ticket #8001: 8001.patch

File 8001.patch, 1.1 KB (added by Garry Yao, 14 years ago)
  • _source/plugins/panel/plugin.js

     
    245245
    246246                this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block );
    247247
    248                 block.onMark = function( item )
    249                 {
    250                         holder.setAttribute( 'aria-activedescendant', item.getId() + '_option' );
    251                 };
    252 
    253                 block.onUnmark = function()
    254                 {
    255                         holder.removeAttribute( 'aria-activedescendant' );
    256                 };
    257 
    258248                block.show();
    259249
    260250                return block;
  • _source/plugins/listblock/plugin.js

     
    196196                                                item.addClass( 'cke_selected' );
    197197
    198198                                                this.element.getDocument().getById( itemId + '_option' ).setAttribute( 'aria-selected', true );
    199                                                 this.element.setAttribute( 'aria-activedescendant', itemId + '_option' );
    200 
    201199                                                this.onMark && this.onMark( item );
    202200                                        },
    203201
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy