Fix accessible label on left panel spotlight trigger ()

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28192/head
Michael Telatynski 2024-09-25 11:01:38 +01:00 committed by GitHub
parent 2e895da39f
commit ad94c39e50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
src/components/structures

View File

@ -62,7 +62,7 @@ export default class RoomSearch extends React.PureComponent<IProps> {
);
return (
<AccessibleButton onClick={this.openSpotlight} className={classes}>
<AccessibleButton onClick={this.openSpotlight} className={classes} aria-label={_t("action|search")}>
{icon}
{!this.props.isMinimized && (
<div className="mx_RoomSearch_spotlightTriggerText">{_t("action|search")}</div>