fix(menu): change ARIA role from complementary to navigation (#18330)

fixes #18318
This commit is contained in:
Amy Marsh
2019-06-12 14:34:53 -04:00
committed by Brandy Carney
parent eca4121dc6
commit 9e4346bb44

View File

@ -517,7 +517,7 @@ export class Menu implements ComponentInterface, MenuI {
hostData() {
const { isEndSide, type, disabled, isPaneVisible } = this;
return {
role: 'complementary',
role: 'navigation',
class: {
[`${this.mode}`]: true,
[`menu-type-${type}`]: true,