added role=presentation to content node

This commit is contained in:
Eric Rowell
2013-11-02 22:39:24 -07:00
parent 9e437d2b83
commit 65166d7ddd
2 changed files with 7 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
suite('Stage', function() {
// ======================================================
test('instantiate stage with id', function() {
test.only('instantiate stage with id', function() {
var container = document.createElement('div');
container.id = 'container';
@@ -12,6 +12,11 @@ suite('Stage', function() {
width: 578,
height: 200
});
assert.equal(stage.getContent().className, 'kineticjs-content');
assert.equal(stage.getContent().getAttribute('role'), 'presentation');
});
// ======================================================