All Questions
Tagged with accessibility swift
311
questions
0
votes
1
answer
70
views
Disable Button shape accessibility from programming
Is there any way to disable button shape accessibility from app code?
Because it shows greyish backgorund all over the app which kill UI part.
The tabs & all buttons show grey background all the ...
0
votes
0
answers
33
views
Links in WKWebview not showing numbers when "Show Numbers" command is activated with Voice Control
I am using WKWebview and loading HTML content with couple of anchor tags to open another view in app itself when tap on link. However, I do not see any numbers for links when I say "Show Numbers&...
1
vote
2
answers
106
views
How to make Top View Controller receive focus with `tab` or `arrow` keys when using Full Keyboard Access
Question: Top View Controller (CardVC) not focusable with Full Keyboard Access
Issues:
When CardVC is displayed, and if the Full Keyboard Access is enabled, the navigation by pressing Tab or Arrow ...
1
vote
0
answers
20
views
UIAccessibility post announcement not always read if fired by button
I have a simple app to announce a text when tapping a button. Here is the code (it's in SwiftUI but the same behavior arises using UIKit)
struct ContentView: View {
var body: some View {
...
0
votes
0
answers
33
views
SwiftUI AccessibilityFocusState not working in Lists
I have a view shown as a crouton (from bottom view) when tapping a button. I want to move accessibility focus to this view when shown but using AccessibilityFocusState only works if the button is NOT ...
1
vote
0
answers
50
views
How to correctly get text cursor location from any application with Mac Accessibility APIs?
I'm developing a helper application that provides autocomplete features for any application by using macOS Accessibility APIs. I can get the right location from Xcode, VS Code and other applications ...
0
votes
0
answers
18
views
How to specify button badge information for accessibility in iOS
I have a custom button related to user notifications in my app which can have a numberic badge. If there is no badge, I want the VoiceOver to speak "Notifications. Button" and if it has a ...
0
votes
0
answers
44
views
voice over is enabled(UIaccesibility.isVoiceOverRunning) on parent A(nav controller) and On child view(UIactivityViewcontroller)voice over is disabled
I'm trying to achieving accessibility on activityviewcontroller. I'm presenting navigation controller over root view and later presenting activityviewcontroller over navigation controller.I found ...
0
votes
0
answers
53
views
SwiftUI bug? Elements invisible in Voice Over mode
I'm facing issues with the visibility of the elements inside ZStack in VoiceOver mode.
I'm building a View where I got navigation tabs inside ScrollView (green tabs on picture), and on top of that I ...
0
votes
0
answers
37
views
Exploring Apple Accessibility Audit in Xcode
I'm exploring Apple Accessibility Audit in Xcode and can't figure out how an audit like elementDetection (XCUIAccessibilityAuditTypeElementDetection) works at all.
My goal is to build the elements so ...
0
votes
1
answer
53
views
accessibilityElementDidBecomeFocused only gets called with VoiceOver enabled
Background
I have a UICollectionViewCell, where I override accessibilityElementDidBecomeFocused method.
I also override canBecomeFocused to always return true.
The App allows Accessibility->Full ...
0
votes
1
answer
86
views
How to disable Direct Touch Area on MyApp
I need to disable Direct Touch Area in MyApp (a Unity App) using a Native framework.
I usually used
UIAccessibilityTraits.allowsDirectInteraction = UIAccessibilityTraits.none
or
UIAccessibilityTraits....
1
vote
1
answer
90
views
How can access inner elements of NavigationLink in accessibility in SwiftUI
I have enabled accessibility for automation testing. I have added accessibility label for all element but accessible of elements inside the NavigationLink is false.
var body: some View {
...
0
votes
0
answers
28
views
contentView.isAccessibilityElement = true is not working on UITableviewCell
have one UItableviewCell.
not able to perform cell selction with voice over on if I set isaccessibilityElement to true
contentView.isAccessibilityElement = true
If I remove this cell selection works.
...
1
vote
1
answer
95
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 ...