a11y: accessibility labels for calls

This commit is contained in:
Mauro Romito
2025-03-27 16:49:59 +01:00
committed by Mauro
parent 089d1faaec
commit db6ed2e910
4 changed files with 10 additions and 0 deletions
@@ -233,6 +233,7 @@ struct RoomScreen: View {
.labelStyle(.titleAndIcon)
}
.buttonStyle(ElementCallButtonStyle())
.accessibilityLabel(L10n.a11yJoinCall)
.accessibilityIdentifier(A11yIdentifiers.roomScreen.joinCall)
} else {
Button {
@@ -240,6 +241,7 @@ struct RoomScreen: View {
} label: {
CompoundIcon(\.videoCallSolid)
}
.accessibilityLabel(L10n.a11yStartCall)
.accessibilityIdentifier(A11yIdentifiers.roomScreen.joinCall)
}
}