From 5cdcdb61effd9877c308039753143fb7049583ba Mon Sep 17 00:00:00 2001 From: ayush-chauhan233 Date: Mon, 9 Dec 2024 05:27:01 +0530 Subject: [PATCH] [MA-8]: Review Fixes: Updated the aria-expanded ternary condition --- .../src/components/channel_header/channel_header_title.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/components/channel_header/channel_header_title.tsx b/webapp/channels/src/components/channel_header/channel_header_title.tsx index 20bd69bd019..72bd6e43a49 100644 --- a/webapp/channels/src/components/channel_header/channel_header_title.tsx +++ b/webapp/channels/src/components/channel_header/channel_header_title.tsx @@ -143,7 +143,7 @@ const ChannelHeaderTitle = ({ id='channel_header.menuAriaLabel' className={classNames('channel-header__trigger style--none', {active: titleMenuOpen})} aria-label={intl.formatMessage({id: 'channel_header.menuAriaLabel', defaultMessage: 'Channel Menu'}).toLowerCase()} - aria-expanded={titleMenuOpen ? 'true' : 'false'} + aria-expanded={titleMenuOpen} aria-controls='channelHeaderDropdownMenu' > {showTooltip ? (