Skip to content

Commit

Permalink
[MA-8]: Review Fixes: Updated the aria-expanded ternary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-chauhan233 committed Dec 9, 2024
1 parent d67890a commit 5cdcdb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? (
Expand Down

0 comments on commit 5cdcdb6

Please sign in to comment.