Skip to content

Commit

Permalink
Merge branch 'add-menu-wcag-rules' of github.com:grommet/hpe-design-s…
Browse files Browse the repository at this point in the history
…ystem into add-menu-wcag-rules
  • Loading branch information
britt6612 committed Jan 16, 2025
2 parents 22ca215 + 455ad6b commit 8f4ea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries-site/src/pages/components/menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ Used to indicate that a Menu cannot be interacted with.

Accessibility features such as screen reader messages are automatically built into Menu. By default, these messages are "Open Menu" and "Close Menu". However, if a more specific message is necessary, a custom [a11yTitle](https://v2.grommet.io/menu?theme=hpe#a11yTitle) or [messages](https://v2.grommet.io/menu?theme=hpe#messages) may be applied.

An icon can be used on a menu item to provide additional context about the action. It is recommended that an icon is used in conjunction with text to ensure the context of the menu item is clear. However, there may be cases where an icon alone is sufficient. For example, highly familiar action indicators, such as this example of [Menu with custom icon](#with-custom-icon) demonstrate when an icon only may be sufficient.
An icon may be used on a menu item to provide additional context about the action. It is recommended that an icon is used in conjunction with text to ensure the context of the menu item is clear. However, there may be cases where an icon alone is sufficient. For example, highly familiar action indicators, such as this example of [Menu with custom icon](#with-custom-icon) demonstrate when an icon only may be sufficient.

### WCAG compliance
<AccessibilitySection title='menu' />

0 comments on commit 8f4ea6a

Please sign in to comment.