Skip to content

feat: Support text inputs on iOS - #884

Merged
DataTriny merged 4 commits into
mainfrom
ios-text
Dec 5, 2026
Merged

DataTriny merged 4 commits into
mainfrom
ios-text

Conversation

@DataTriny

Copy link
Copy Markdown
Member

Give toolkits the necessary building blocks to expose their text inputs to assistive technologies on iOS. Unlike on other platforms, the UIAccessibility API doesn't offer a way to represent text inputs, so we have to work with real UIKit objects. AccessKit manages everything for inactive inputs but we have to cooperate with the implementor for active ones, as there have to exist only one text input, reachable both by the writing system and assistive technologies.

Unfortunately we have to use two undocumented symbols: one undocumented trait we have to remove to get around a bug in multiline inputs (comes from Flutter) and an undocumented notification we have to post to let assistive technologies the selection changed. I don't think these will be caught by automated checks and would block publication on the AppStore.

The feature can be tested with the showcase example, as all text inputs can now be operated with VoiceOver.

Users of accesskit_winit won't be able to take advantage of this, as winit doesn't currently use a dedicated view for its text input.

@DataTriny
DataTriny merged commit abb8c35 into main Dec 5, 2026
26 checks passed
@DataTriny
DataTriny deleted the ios-text branch December 5, 2026 15:04
@DataTriny DataTriny mentioned this pull request Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant