Commit 71866044e3

71866044e3833209427aafcefd5e39c7cd04bcd7

parent: ab3a6a9d7e

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-22 21:17 UTC

iOS: announce editor and reader messages to VoiceOver

Ref #221

Layout: unified · split

Changed files (2)
Sources/OrgstarMobile/EditorScreen.swift +5 −1 · view
@@ -1254,7 +1254,8 @@ final class PaneHolder {
1254 } 1254 }
1255} 1255}
1256 1256
1257/// A command's result or refusal, over the screen until it is tapped or for four seconds. 1257/// A command's result or refusal, over the screen until it is tapped or for four seconds, and
1258/// read out by VoiceOver.
1258private struct MessageView: ViewModifier { 1259private struct MessageView: ViewModifier {
1259 @Binding var message: String? 1260 @Binding var message: String?
1260 let edge: VerticalEdge 1261 let edge: VerticalEdge
@@ -1273,6 +1274,9 @@ private struct MessageView: ViewModifier {
1273 } 1274 }
1274 } 1275 }
1275 } 1276 }
1277 .onChange(of: message) { _, message in
1278 if let message { AccessibilityNotification.Announcement(message).post() }
1279 }
1276 } 1280 }
1277} 1281}
1278 1282
docs/manual/guide/14-ios.org +1 −1 · view
@@ -54,7 +54,7 @@ The toolbar has:
54- Undo 54- Undo
55- More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions. 55- More :: Commands, Clock In, Show Markup, Recent Entries, Export, Sync Conflict Copies, and Recovered Versions.
56 56
57Messages from commands show at the top of the editor, and at the bottom of the reader, for a few seconds; tap one to dismiss it. 57Messages from commands show at the top of the editor, and at the bottom of the reader, for a few seconds; tap one to dismiss it. VoiceOver reads each message as it appears.
58 58
59** Panes and windows on iPad 59** Panes and windows on iPad
60 60
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form