mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Accessibility: VoiceOver: Add accessibility label and hint to the Record Voice Message button. (#6323)
* Add accessibility label and hint to the Record Voice Message button. * Add release note. * Remove unnecessary import for SwiftUI. * Update Riot/Modules/Room/VoiceMessages/VoiceMessageToolbarView.swift Use VectorL10n instead of calling NSLocalizedString directly. * Add German translation for the newly added a11y strings. * Revert "Add German translation for the newly added a11y strings." This reverts commit 003cfd9c3ecc149b9aff7833c8d6614bbb37f72c. * Update Riot/Assets/en.lproj/Vector.strings
This commit is contained in:
@@ -130,6 +130,8 @@ class VoiceMessageToolbarView: PassthroughView, NibLoadable, Themable, UIGesture
|
||||
playbackView.waveformView.addGestureRecognizer(tapGesture)
|
||||
tapGesture.delegate = self
|
||||
self.tapGesture = tapGesture
|
||||
primaryRecordButton.accessibilityLabel = VectorL10n.roomAccessibilityRecordVoiceMessage
|
||||
primaryRecordButton.accessibilityHint = VectorL10n.roomAccessibilityRecordVoiceMessageHint
|
||||
|
||||
updateUIWithDetails(VoiceMessageToolbarViewDetails(), animated: false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user