Give the media upload preview a descriptive VoiceOver title

The QLPreviewItem used the media's file name as its title, which VoiceOver
read as cryptic alt text. Provide a descriptive "Photo preview" / "Video
preview" title based on the media type instead.

Addresses #5240, #5241.
This commit is contained in:
Mauro Romito
2026-06-19 12:52:19 +02:00
committed by Mauro
parent 17da5ff3b7
commit 8a4e4d1903
4 changed files with 22 additions and 1 deletions
@@ -21,6 +21,7 @@
"a11y_page_n" = "Page %1$d";
"a11y_pause" = "Pause";
"a11y_paused_voice_message" = "Voice message, duration: %1$@, current position: %2$@";
"a11y_photo_preview" = "Photo preview";
"a11y_pin_field" = "PIN field";
"a11y_pinned_location" = "Pinned location";
"a11y_play" = "Play";
@@ -48,6 +49,7 @@
"a11y_start_voice_call" = "Start a voice call";
"a11y_tombstoned_room" = "Tombstoned room";
"a11y_user_menu" = "User menu";
"a11y_video_preview" = "Video preview";
"a11y_view_avatar" = "View avatar";
"a11y_view_details" = "View details";
"a11y_voice_message" = "Voice message, duration: %1$@";