1
0
mirror of https://github.com/videojs/video.js.git synced 2025-11-29 23:07:51 +02:00

@nickygerritsen Add title to all clickable components. closes #3296

This commit is contained in:
Nicky Gerritsen
2016-05-17 10:17:12 +02:00
parent b1e7bfd8f8
commit ed39b68f13
3 changed files with 12 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import TestHelpers from './test-helpers.js';
q.module('Button');
test('should localize its text', function(){
expect(2);
expect(3);
var player, testButton, el;
@@ -22,5 +22,6 @@ test('should localize its text', function(){
el = testButton.createEl();
ok(el.nodeName.toLowerCase().match('button'));
ok(el.innerHTML.match('Juego'));
ok(el.innerHTML.match('vjs-control-text">Juego'));
equal(el.getAttribute('title'), 'Juego');
});