diff --git a/webapp/channels/src/components/team_sidebar/components/team_button.tsx b/webapp/channels/src/components/team_sidebar/components/team_button.tsx index e204a3168b2..1d6659060d8 100644 --- a/webapp/channels/src/components/team_sidebar/components/team_button.tsx +++ b/webapp/channels/src/components/team_sidebar/components/team_button.tsx @@ -127,6 +127,13 @@ export default function TeamButton({ } } + if (!isNotCreateTeamButton) { + ariaLabel = formatMessage({ + id: 'team.button.create.ariaLabel', + defaultMessage: displayName, + }); + } + ariaLabel = ariaLabel.toLowerCase(); const content = ( diff --git a/webapp/channels/src/components/team_sidebar/team_sidebar.tsx b/webapp/channels/src/components/team_sidebar/team_sidebar.tsx index 49947634701..bed5932853c 100644 --- a/webapp/channels/src/components/team_sidebar/team_sidebar.tsx +++ b/webapp/channels/src/components/team_sidebar/team_sidebar.tsx @@ -283,6 +283,7 @@ export default class TeamSidebar extends React.PureComponent { } content={plusIcon} switchTeam={this.props.actions.switchTeam} + displayName='Create a Team' /> , );