-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menu: Add AriaLabel
property (#5783)
#8710
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #8710 +/- ##
==========================================
+ Coverage 89.82% 90.14% +0.31%
==========================================
Files 412 419 +7
Lines 11878 12181 +303
Branches 2364 2397 +33
==========================================
+ Hits 10670 10980 +310
+ Misses 681 664 -17
- Partials 527 537 +10 ☔ View full report in Codecov by Sentry. |
[Parameter] | ||
[Category(CategoryTypes.Menu.Behavior)] | ||
public string? AriaLabel { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing summary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! LMK if Sets the aria-label of the menu button when <see cref="ActivatorContent"/> is not set.
sounds good
Description
Small improvement to
MudMenu
by adding theAriaLabel
property as was discussed in the linked issue.Also made use of the
AriaLabel
property in some of the documentation examples.Resolves #5783
How Has This Been Tested?
Visually + unit tests.
Type of Changes
Checklist
dev
).