Skip to content

Commit

Permalink
Read title from the element.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Sep 17, 2014
1 parent 029327d commit 41fdb3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/wysiwygarea/plugin.js
Expand Up @@ -286,7 +286,8 @@
}

var title = editor.document.getElementsByTag( 'title' ).getItem( 0 );
title.data( 'cke-title', editor.document.$.title );
// document.title is malfunctioning on Chrome, so get value from the element (#12402).
title.data( 'cke-title', title.getText() );

// [IE] JAWS will not recognize the aria label we used on the iframe
// unless the frame window title string is used as the voice label,
Expand Down

0 comments on commit 41fdb3d

Please sign in to comment.