Repository navigation
Expose the text to VoiceOver - #22
Merged
Merged
Conversation
TranscriptTextView draws its text with Core Text and set no accessibility properties, so VoiceOver found no text in it. The view is now an accessibility container with one element for each block. Headings have the header trait, list items start with their number or their task state, and each link in a block is a custom action that opens it through openLink. An element's frame is its block's frame, and a line-limited layout gives only the text that is shown. The elements are made when VoiceOver asks for them and kept until the layout changes, so a streaming view posts no notifications. The spoken words come from the app's Localizable.strings. Closes #1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TranscriptTextViewdraws its text with Core Text and set no accessibility properties, so VoiceOver found no text in it.UIAccessibilityElementfor each block, framed to the block.openLink, and the block has the link trait.Localizable.strings("Open %@", "Checked", "Unchecked", "Separator").Closes #1.
Stack
This PR is part of a stack. It is based on #21 (
feature/line-limit-alignment), so its diff shows only this change. Merge the stack in order, starting with #17.Tests
swift testpasses with it in the stack.accessibilityFramereads as zero while VoiceOver is off, because the accessibility runtime computes it from that frame.🤖 Generated with Claude Code