update aria-label with room name

This commit is contained in:
KDSBrowne 2021-09-10 22:21:18 +00:00
parent 75073842fd
commit 4c6f84d954

View File

@ -313,7 +313,7 @@ class BreakoutRoom extends PureComponent {
<Button
label={this.getBreakoutLabel(breakoutId)}
data-test="breakoutJoin"
aria-label={`${intl.formatMessage(intlMessages.breakoutJoin)} ${number}`}
aria-label={`${this.getBreakoutLabel(breakoutId)} ${this.props.breakoutRooms[number - 1]?.shortName }`}
onClick={() => {
this.getBreakoutURL(breakoutId);
// leave main room's audio,