Skip to content

mat-menu missing API to set aria-label #17952

Closed
hrueger/AGLight
#112
@jelbourn

Description

@jelbourn

<mat-menu> doesn't have an API that lets the user set an aria-label on the role="menu" element.

I'd like to fix this long term by moving to a different menu API, something like

<mat-menu *matMenuDef>
  ...
</mat-menu>

(where mat-menu is the role="menu" element)

In the interim, we should just add an input for this.

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)GThis is is related to a Google internal issueP2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions