diff --git a/src/components/views/audio_messages/SeekBar.tsx b/src/components/views/audio_messages/SeekBar.tsx index 4af84325e5..939e29df51 100644 --- a/src/components/views/audio_messages/SeekBar.tsx +++ b/src/components/views/audio_messages/SeekBar.tsx @@ -19,6 +19,7 @@ import React, { ChangeEvent, CSSProperties, ReactNode } from "react"; import { PlaybackInterface } from "../../../audio/Playback"; import { MarkedExecution } from "../../../utils/MarkedExecution"; import { percentageOf } from "../../../utils/numbers"; +import { _t } from "../../../languageHandler"; interface IProps { // Playback instance to render. Cannot change during component lifecycle: create @@ -112,6 +113,7 @@ export default class SeekBar extends React.PureComponent { step={0.001} style={{ "--fillTo": this.state.percentage } as ISeekCSS} disabled={this.props.disabled} + aria-label={_t("a11y|seek_bar_label")} /> ); } diff --git a/src/components/views/rooms/RoomHeader.tsx b/src/components/views/rooms/RoomHeader.tsx index 1458c4a0a8..f770856203 100644 --- a/src/components/views/rooms/RoomHeader.tsx +++ b/src/components/views/rooms/RoomHeader.tsx @@ -273,6 +273,7 @@ export default function RoomHeader({ size="20px" overflow={false} viewUserOnClick={false} + tooltipLabel={_t("room|header_face_pile_tooltip")} > {formatCount(memberCount)} diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index f96bddfc28..c94a36c164 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -14,6 +14,7 @@ "recent_rooms": "Recent rooms", "room_name": "Room %(name)s", "room_status_bar": "Room status bar", + "seek_bar_label": "Audio seek bar", "unread_messages": "Unread messages.", "user_menu": "User menu" }, @@ -1946,6 +1947,7 @@ "video_call_ec_layout_spotlight": "Spotlight", "video_room_view_chat_button": "View chat timeline" }, + "header_face_pile_tooltip": "Toggle member list", "header_untrusted_label": "Untrusted", "inaccessible": "This room or space is not accessible at this time.", "inaccessible_name": "%(roomName)s is not accessible at this time.", diff --git a/test/components/views/audio_messages/__snapshots__/SeekBar-test.tsx.snap b/test/components/views/audio_messages/__snapshots__/SeekBar-test.tsx.snap index 866fc65708..f341544917 100644 --- a/test/components/views/audio_messages/__snapshots__/SeekBar-test.tsx.snap +++ b/test/components/views/audio_messages/__snapshots__/SeekBar-test.tsx.snap @@ -3,6 +3,7 @@ exports[`SeekBar when rendering a SeekBar and the playback proceeds should render as expected 1`] = `