From 6510fca16d1be12ced42db6c1a652750b7ea7f70 Mon Sep 17 00:00:00 2001 From: Rodolfo Felipe <31481067+rodolforfq@users.noreply.github.com> Date: Fri, 3 Apr 2026 02:12:23 -0400 Subject: [PATCH 1/2] Enhance menu bar documentation on icons and variants Added guidance on using MenuBarVariant for drop-down indicators and icon-only menu items. Based con customer's feedback. --- articles/components/menu-bar/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/components/menu-bar/index.adoc b/articles/components/menu-bar/index.adoc index c576f32e45..297feeab1a 100644 --- a/articles/components/menu-bar/index.adoc +++ b/articles/components/menu-bar/index.adoc @@ -263,7 +263,7 @@ include::{root}/frontend/demo/component/menubar/react/menu-bar-icons.tsx[render, endif::[] -- -Most actions are difficult to represent reliably with icons, so use them sparingly. The benefit of icons in addition to text should be weighed against the visual distractions they may create. Menu items in drop-down menus should always have text labels. +Most actions are difficult to represent reliably with icons, so use them sparingly. The benefit of icons in addition to text should be weighed against the visual distractions they may create. Menu items in drop-down menus should always have text labels. Aditionally, drop-down menus should use the `MenuBarVariant.LUMO_DROPDOWN_INDICATORS` in these cases. `MenuBarVariant.LUMO_ICON` should be used for icon-only menu items, as it hides the drop-down indicator. Icon-only menu buttons should be used primarily for common recurring actions with highly standardized, universally understood icons. Menu buttons should include a textual alternative for screen readers using the `aria-label` attribute or <>. Menu Bars with icon-only top-level items can use the *Tertiary Inline* style variant to reduce the horizontal padding around the icons. From 32b002ca532dbc6b2ebed20c6770937d7286cba7 Mon Sep 17 00:00:00 2001 From: Rodolfo Felipe <31481067+rodolforfq@users.noreply.github.com> Date: Fri, 3 Apr 2026 02:18:54 -0400 Subject: [PATCH 2/2] Fix typo in menu bar documentation Corrected a typo in the documentation regarding drop-down menus and icon usage. --- articles/components/menu-bar/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/components/menu-bar/index.adoc b/articles/components/menu-bar/index.adoc index 297feeab1a..da2328fa3f 100644 --- a/articles/components/menu-bar/index.adoc +++ b/articles/components/menu-bar/index.adoc @@ -263,7 +263,7 @@ include::{root}/frontend/demo/component/menubar/react/menu-bar-icons.tsx[render, endif::[] -- -Most actions are difficult to represent reliably with icons, so use them sparingly. The benefit of icons in addition to text should be weighed against the visual distractions they may create. Menu items in drop-down menus should always have text labels. Aditionally, drop-down menus should use the `MenuBarVariant.LUMO_DROPDOWN_INDICATORS` in these cases. `MenuBarVariant.LUMO_ICON` should be used for icon-only menu items, as it hides the drop-down indicator. +Most actions are difficult to represent reliably with icons, so use them sparingly. The benefit of icons in addition to text should be weighed against the visual distractions they may create. Menu items in drop-down menus should always have text labels. Additionally, drop-down menus should use the `MenuBarVariant.LUMO_DROPDOWN_INDICATORS` in these cases. `MenuBarVariant.LUMO_ICON` should be used for icon-only menu items, as it hides the drop-down indicator. Icon-only menu buttons should be used primarily for common recurring actions with highly standardized, universally understood icons. Menu buttons should include a textual alternative for screen readers using the `aria-label` attribute or <>. Menu Bars with icon-only top-level items can use the *Tertiary Inline* style variant to reduce the horizontal padding around the icons.