Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit ad94c39

Browse files
authored
Fix accessible label on left panel spotlight trigger (#87)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 2e895da commit ad94c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/structures/RoomSearch.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class RoomSearch extends React.PureComponent<IProps> {
6262
);
6363

6464
return (
65-
<AccessibleButton onClick={this.openSpotlight} className={classes}>
65+
<AccessibleButton onClick={this.openSpotlight} className={classes} aria-label={_t("action|search")}>
6666
{icon}
6767
{!this.props.isMinimized && (
6868
<div className="mx_RoomSearch_spotlightTriggerText">{_t("action|search")}</div>

0 commit comments

Comments
 (0)