Changeset 7451 for CKEditor/trunk


Ignore:
Timestamp:
04/05/2012 03:02:08 PM (3 years ago)
Author:
garry.yao
Message:

#8864: Put the ARIA role on iframe body element in IE.

Location:
CKEditor/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r7450 r7451  
    9393                <li><a href="http://dev.ckeditor.com/ticket/8493">#8493</a> : [IE] It is impossible to add a link to the selected text.</li> 
    9494                <li><a href="http://dev.ckeditor.com/ticket/8528">#8528</a> : Redundant <code>imagePreviewBoxId</code> in the Image Properties dialog window is now removed.</li> 
     95                <li><a href="http://dev.ckeditor.com/ticket/8864">#8864</a> : [IE]Fix ARIA presentation of toolbar rich combo in JAWS.</li> 
    9596        </ul> 
    9697        <h3> 
  • CKEditor/trunk/_source/plugins/floatpanel/plugin.js

    r7368 r7451  
    4747                                element = panel.element, 
    4848                                iframe = element.getFirst().getFirst(); 
     49 
     50                        // Disable native browser menu. (#4825) 
     51                        element.disableContextMenu(); 
    4952 
    5053                        this.element = element; 
  • CKEditor/trunk/_source/plugins/panel/plugin.js

    r7248 r7451  
    228228                var blocks = this._.blocks, 
    229229                        block = blocks[ name ], 
    230                         current = this._.currentBlock, 
    231                         holder = this.forceIFrame ? 
    232                                 this.document.getById( this.id + '_frame' ) 
    233                                 : this._.holder; 
    234  
    235                 // Disable context menu for block panel. 
    236                 holder.getParent().getParent().disableContextMenu(); 
     230                        current = this._.currentBlock; 
     231 
     232                // ARIA role works better in IE on the body element, while on the iframe 
     233                // for FF. (#8864) 
     234                var holder = !this.forceIFrame || CKEDITOR.env.ie ? 
     235                                 this._.holder : this.document.getById( this.id + '_frame' ); 
    237236 
    238237                if ( current ) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy