Skip to content

Commit

Permalink
Fix accessible label on left panel spotlight trigger (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy authored Sep 25, 2024
1 parent 2e895da commit ad94c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/RoomSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ad94c39

Please sign in to comment.