mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update search
This commit is contained in:
parent
8dd2c5d717
commit
cc428aac1d
34 changed files with 814 additions and 549 deletions
|
@ -31,13 +31,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<test-fixture id="item">
|
||||
<template>
|
||||
<paper-item>item</paper-item>
|
||||
<div role="list">
|
||||
<paper-item>item</paper-item>
|
||||
</div>
|
||||
</template>
|
||||
</test-fixture>
|
||||
|
||||
<test-fixture id="iconItem">
|
||||
<template>
|
||||
<paper-icon-item>item</paper-icon-item>
|
||||
<div role="list">
|
||||
<paper-icon-item>item</paper-icon-item>
|
||||
</div>
|
||||
</template>
|
||||
</test-fixture>
|
||||
|
||||
|
@ -47,8 +51,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
var item, iconItem;
|
||||
|
||||
setup(function() {
|
||||
item = fixture('item');
|
||||
iconItem = fixture('iconItem');
|
||||
item = fixture('item').querySelector('paper-item');
|
||||
iconItem = fixture('iconItem').querySelector('paper-icon-item');
|
||||
});
|
||||
|
||||
test('item has role="listitem"', function() {
|
||||
|
@ -58,6 +62,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
test('icon item has role="listitem"', function() {
|
||||
assert.equal(iconItem.getAttribute('role'), 'listitem', 'has role="item"');
|
||||
});
|
||||
|
||||
a11ySuite('item');
|
||||
a11ySuite('iconItem');
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue