mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(menu): change ARIA role from complementary to navigation (#18330)
fixes #18318
This commit is contained in:
@ -517,7 +517,7 @@ export class Menu implements ComponentInterface, MenuI {
|
|||||||
hostData() {
|
hostData() {
|
||||||
const { isEndSide, type, disabled, isPaneVisible } = this;
|
const { isEndSide, type, disabled, isPaneVisible } = this;
|
||||||
return {
|
return {
|
||||||
role: 'complementary',
|
role: 'navigation',
|
||||||
class: {
|
class: {
|
||||||
[`${this.mode}`]: true,
|
[`${this.mode}`]: true,
|
||||||
[`menu-type-${type}`]: true,
|
[`menu-type-${type}`]: true,
|
||||||
|
Reference in New Issue
Block a user