We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd699d5 commit 83c5987Copy full SHA for 83c5987
packages/uui-menu-item/lib/uui-menu-item.test.ts
@@ -28,6 +28,16 @@ describe('UUIMenuItemElement', () => {
28
await expect(element).shadowDom.to.be.accessible();
29
});
30
31
+ it('passes the a11y audit with nesting', async () => {
32
+ element = await fixture(
33
+ html`<uui-menu-item label="menuitem" has-children>
34
+ <uui-menu-item label="sub-menuitem"></uui-menu-item>
35
36
+ </uui-menu-item>`,
37
+ );
38
+ await expect(element).shadowDom.to.be.accessible();
39
+ });
40
+
41
describe('properties', () => {
42
it('has a disabled property', () => {
43
expect(element).to.have.property('disabled');
0 commit comments