Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
16 views

How to tap a button in a UITest that is in and out of a swiftui accessibilityRepresentation?

If the View looks like this: struct Screen: View { var body: some View { VStack { ... NavigationLink { LoginScreen() } label: { ...
Celina's user avatar
  • 583
0 votes
1 answer
76 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 ...
nirav's user avatar
  • 651
0 votes
0 answers
42 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&...
DJB's user avatar
  • 857
1 vote
2 answers
151 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 ...
ashokds's user avatar
  • 2,248
1 vote
0 answers
33 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 { ...
rai212's user avatar
  • 751
0 votes
0 answers
37 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 ...
rai212's user avatar
  • 751
1 vote
0 answers
53 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 ...
ziyasal's user avatar
  • 558
0 votes
0 answers
19 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 ...
rai212's user avatar
  • 751
0 votes
0 answers
48 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 ...
datha's user avatar
  • 359
0 votes
0 answers
64 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 ...
nonamehere's user avatar
0 votes
0 answers
40 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 ...
Илья's user avatar
0 votes
1 answer
55 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 ...
Abubakr Dar's user avatar
  • 4,078
0 votes
1 answer
88 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....
David Leonardo Acosta Laverde's user avatar
1 vote
1 answer
96 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 { ...
Santosh Gupta's user avatar
0 votes
0 answers
30 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. ...
dmn's user avatar
  • 21
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 ...
cwzy80's user avatar
  • 11
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 ...
Bogdan's user avatar
  • 31
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 ...
Sumit Jangra's user avatar
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'. ...
Lc___'s user avatar
  • 21
2 votes
1 answer
194 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(&...
Konstantin.Efimenko's user avatar
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 { ...
Konstantin.Efimenko's user avatar
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 ...
L N's user avatar
  • 2,968
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 ...
Linda Elksnīte's user avatar
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 ...
iOSer's user avatar
  • 246
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 ...
Jeronimo Cabezuelo Ruiz's user avatar
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 ...
ashokds's user avatar
  • 2,248
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 ...
Ash's user avatar
  • 1
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 -> ...
Andrew_STOP_RU_WAR_IN_UA's user avatar
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 ...
Tyler D.'s user avatar
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 ...
Sayalee Pote's user avatar

15 30 50 per page
1
2 3 4 5
11