From dd050deb9d03c09d5371052707595f979bfc6543 Mon Sep 17 00:00:00 2001 From: yanaminkova <32466553+yanaminkova@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:10:52 +0300 Subject: [PATCH] docs(ui5-icon): update iconmode documentation (#9264) --- packages/main/src/types/IconMode.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/main/src/types/IconMode.ts b/packages/main/src/types/IconMode.ts index 72490764f43f..09b70dce783d 100644 --- a/packages/main/src/types/IconMode.ts +++ b/packages/main/src/types/IconMode.ts @@ -13,16 +13,16 @@ enum IconMode { /** * Decorative mode. - * Configures the component to internally render role="button". - * This mode also supports focus and press handling to enhance interactivity. + * Configures the component to internally render role="presentation" and aria-hidden="true", + * making it purely decorative without semantic content or interactivity. * @public */ Decorative = "Decorative", /** * Interactive mode. - * Configures the component to internally render role="presentation" and aria-hidden="true", - * making it purely decorative without semantic content or interactivity. + * Configures the component to internally render role="button". + * This mode also supports focus and press handling to enhance interactivity. * @public */ Interactive = "Interactive",