8
0
Просмотр исходного кода

Fix: Removed title from the editable element. Fixes #121.

Piotrek Koszuliński 9 лет назад
Родитель
Сommit
759c247557

+ 0 - 1
packages/ckeditor5-ui/src/editableui/inline/inlineeditableuiview.js

@@ -46,7 +46,6 @@ export default class InlineEditableUIView extends EditableUIView {
 			attributes: {
 				role: 'textbox',
 				'aria-label': bind.to( 'name', getLabel ),
-				title: bind.to( 'name', getLabel ),
 				class: 'ck-editor__editable_inline'
 			}
 		} );

+ 0 - 4
packages/ckeditor5-ui/tests/editableui/inline/inlineeditableuiview.js

@@ -53,10 +53,6 @@ describe( 'InlineEditableUIView', () => {
 			expect( view.element.getAttribute( 'aria-label' ) ).to.equal( ariaLabel );
 		} );
 
-		it( 'has proper title', () => {
-			expect( view.element.getAttribute( 'title' ) ).to.equal( ariaLabel );
-		} );
-
 		it( 'has proper class name', () => {
 			expect( view.element.classList.contains( 'ck-editor__editable' ) ).to.be.true;
 			expect( view.element.classList.contains( 'ck-editor__editable_inline' ) ).to.be.true;