Skip to content

Commit 21700f2

Browse files
author
m2rt
committed
fix(sidenav): added presentation role to list item components #303
1 parent 6ef28bf commit 21700f2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tedi/components/layout/sidenav/sidenav-dropdown-item/sidenav-dropdown-item.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RouterLink } from "@angular/router";
2121
encapsulation: ViewEncapsulation.None,
2222
imports: [RouterLink, NgTemplateOutlet],
2323
host: {
24+
"role": "presentation",
2425
"style": "display: contents",
2526
},
2627
})

tedi/components/layout/sidenav/sidenav-item/sidenav-item.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { TediTranslationPipe } from "../../../../services/translation/translatio
4646
TediTranslationPipe,
4747
],
4848
host: {
49+
"role": "presentation",
4950
"style": "display: contents",
5051
},
5152
})

0 commit comments

Comments
 (0)