Current issue
Currently, the main text editor area does not seem to provide an accessibility hint for VoiceOver. When using VoiceOver, the hint can be read with the VO+Shift+H keyboard command. However, at the moment there is no hint available for the editor area.
The solution you'd like
I would like to ask whether CotEditor could add an accessibility hint to the main text editor area. I am imagining adding this hint using the .accessibilityHint() modifier in SwiftUI. One possible use of this hint would be to expose part of the status information that is already shown in the status bar, such as:
- character count
- line count
- current cursor location
These values often change while editing text. If they are available through the accessibility hint, VoiceOver users can quickly check the current editing status with VO+Shift+H without moving the VoiceOver cursor away from the text editor.
For the hint text, I imagine reusing the same localized labels that are already displayed in the status bar. I would not include values that usually do not change during normal editing, such as character encoding or line endings.
I tried a local implementation, and the diff is about 100 lines. If this direction fits CotEditor, I would be happy to prepare a pull request.
Alternatives you've considered
No response
CotEditor version
7.0.2
macOS version
Tahoe 26.4.1
Additional context
I am a visually impaired user who uses the VoiceOver screen reader. CotEditor is a very accessible and excellent text editor, and I really appreciate the work on it.
Current issue
Currently, the main text editor area does not seem to provide an accessibility hint for VoiceOver. When using VoiceOver, the hint can be read with the
VO+Shift+Hkeyboard command. However, at the moment there is no hint available for the editor area.The solution you'd like
I would like to ask whether CotEditor could add an accessibility hint to the main text editor area. I am imagining adding this hint using the
.accessibilityHint()modifier in SwiftUI. One possible use of this hint would be to expose part of the status information that is already shown in the status bar, such as:These values often change while editing text. If they are available through the accessibility hint, VoiceOver users can quickly check the current editing status with
VO+Shift+Hwithout moving the VoiceOver cursor away from the text editor.For the hint text, I imagine reusing the same localized labels that are already displayed in the status bar. I would not include values that usually do not change during normal editing, such as character encoding or line endings.
I tried a local implementation, and the diff is about 100 lines. If this direction fits CotEditor, I would be happy to prepare a pull request.
Alternatives you've considered
No response
CotEditor version
7.0.2
macOS version
Tahoe 26.4.1
Additional context
I am a visually impaired user who uses the VoiceOver screen reader. CotEditor is a very accessible and excellent text editor, and I really appreciate the work on it.