All Questions
Tagged with accessibility swift
311
questions
1
vote
1
answer
96
views
How can I access text box elements in a specific third-party application window?
My requirement is to launch a third-party application from my application and auto-fill the username into a specified text box. Currently, I am able to launch the application and have tried using the ...
0
votes
0
answers
13
views
How to set accessibilityIdentifier for a title of a viewcontroller in UIKit [duplicate]
The problem is that I can't set accessibilityIdentifier for a title of a viewcontroller that is inside of a NavigationController. I need to set it for testing purposes for Appium.
The simplest ...
0
votes
0
answers
47
views
Heading Rotor not reading invisible headings
Am using CollectionView to display content and inside CollectionViewCell I configured Label property accessibilityTraits as header.
When am trying to read headings through Rotor after enabling ...
1
vote
1
answer
2k
views
SwiftUI - Static method 'buildExpression' requires that 'ValueWidget' conform to 'AccessibilityRotorContent'
I am new to swift und swiftUI and started playing around with it. I am getting the following error:
Static method 'buildExpression' requires that 'ValueWidget' conform to 'AccessibilityRotorContent'.
...
2
votes
1
answer
193
views
AccessibilityIdentifier for group of Texts at the same time with identifiers to each of Text
For example code:
HStack {
Text("Hello")
.accessibilityIdentifier("first_word")
Text(" ")
Text("World!")
.accessibilityIdentifier(&...
0
votes
2
answers
158
views
Using custom ButtonStyle broke accessibilityShowButtonShapes overlay
I use custom ButtonStyle to change colour of button in pressed state
Button(action: action) {
bodyView
}
.buttonStyle(ListCellButtonStyle())
private struct ListCellButtonStyle: ButtonStyle {
...
1
vote
2
answers
147
views
Remove button readout from NavigationLink with VoiceOver on
I follow this guide to create navigation programmatically in SwiftUI.
Now the issue is that when VoiceOver is turned on, VoiceOver will read out the NavigationLink as button although it's completely ...
0
votes
0
answers
28
views
Voiceover reads the UI Label again after changing volume
I have a UI Label, which VoiceOver is focused on. It reads it. Then I change volume up or down, and then it reads the value of UI Label two more times. Any idea how to fix this? Or is this expected ...
0
votes
2
answers
176
views
how do I dismiss keyboard when a UIView receives accessibilityElementDidLoseFocus
I have a search view controller with the search bar on top. When searching, the keyboard shows up and stay up even when accessibilityElementDidLoseFocus is called on the search bar.
I would like to ...
0
votes
1
answer
256
views
How group a UITableView for VoiceOver?
I have a UITableView with infinite cells, these are loaded as you scroll down. And I also have a floating button at the bottom. VoiceOver reads the cells one by one, the problem is that as new cells ...
1
vote
0
answers
139
views
iOS Accessibility: How to Increase the Touch Target size for AttributedString in a Label or TextView
How to increase the touch receive area of an attributed string?
Given that a TextView with "View privacy settings and legal disclaimer". Where "privacy settings" and "legal ...
0
votes
0
answers
97
views
Custom UITableviewcell not focusing for voice over left-right swipe
Voice over left-right swipe is not working after a particular cell when the next cell is either not visible in screen or partially visible in screen in UITableView.it gets stuck on the last label of ...
1
vote
2
answers
706
views
Trying to add my app to System Settings -> Privacy and Security -> Accessibility list is the reason of app crash
I have some app
This app must to have accessibility access (to use global hotkeys)
There is no problem to open Accessibility preferences window (System Settings -> Privacy and Security -> ...
2
votes
1
answer
1k
views
SwiftUI: Variable Dynamic Font
I'm in the process of upgrading my app from UIKit to SwiftUI and I've run into the issue of how to create a SwiftUI Text view which reacts to dynamic (accessible) font size and uses a variable font ...
0
votes
1
answer
142
views
accessibilityIgnoresInvertColors is not working for WKWebView in a SwiftUI view
In my SwiftUI view, I'm trying to apply the accessibilityIgnoresInvertColors property to content loaded inside a WKWebView. But this doesn't seem to work. Turning on smart invert in the settings is ...