Questions tagged [uiaccessibility]

UIAccessibility is an informal protocol in UIKit that provides accessibility information about user interface elements. This information is used by VoiceOver and other assistive technologies to help users with disabilities interact with your application. All of the standard views and controls in UIKit implement UIAccessibility, so applications are accessible by default.

This tag is for any questions about making iOS apps more accessible to users via the UIAccessibility protocols.

By default, all objects that inherit from UIView adhere to this informal protocol. In fact, for many views with a low level of customization, iOS is clever enough to set the accessibility attributes automatically. For higher levels of customization, though, the following fields can be set manually (from the Apple docs):

  • Label. A short, localized word or phrase that succinctly describes the control or view, but does not identify the element’s type. Examples are “Add” or “Play.”
  • Traits. A combination of one or more individual traits, each of which describes a single aspect of an element’s state, behavior, or usage. For example, an element that behaves like a keyboard key and that is currently selected can be characterized by the combination of the Keyboard Key and Selected traits.
  • Hint. A brief, localized phrase that describes the results of an action on an element. Examples are “Adds a title” or “Opens the shopping list.”
  • Frame. The frame of the element in screen coordinates, which is given by the CGRect structure that specifies an element’s screen location and size.
  • Value. The current value of an element, when the value is not represented by the label. For example, the label for a slider might be “Speed,” but its current value might be “50%.”

When a VoiceOver user taps a view (or a Switch Control user scans over it), that view's properties are read out loud. These properties also help to determine how VoiceOver and Switch Control facilitate user interaction.

For more information, See the official Apple documentation here: Accessibility Programming Guide

546 questions
0
votes
2 answers

Narrator is reading href value in the HTML pages

I am trying to give the narrator support for the UWP application with the webview. when the narrator is reading the webview content (local html pages), it reads the value inside the anchor tag. My HTML code looks like
Vishnu s
  • 261
  • 2
  • 18
0
votes
1 answer

How to add accessibility for UIRefreshControl in Swift

I am trying to add accessibility for UIRefreshControl which has been implemented for pull to refresh in UITableView as below self.refreshControl.accessibilityLabel = "Refreshing" But if accessibility turned on and by swiping three finger on…
Steve Gear
  • 757
  • 2
  • 16
  • 44
0
votes
1 answer

Voice over or accessibility for UIPage control

Current implementation of my iOS app is like I have a pagination enabled UIScrollView. I have to enable voice over for the same which should voice over the use for pages like "this is the first view", "this is the custom view","this is the nature…
Rishi Chaurasia
  • 520
  • 4
  • 18
0
votes
0 answers

pickerView:didSelectRow:inComponent getting called twice with VoiceOver

I'm not sure what I'm missing here, but when you select a picker view row with VoiceOver pickerView:didSelectRow:inComponent gets called twice. Without voice over it gets called once. I've tried this on a brand new project with bare bones…
0
votes
1 answer

Accessibility tab order for iOS keyboard with custom UI button

I'm working on a cordova app that has a screen with an input text field that require a decimal iOS keypad. I wasn't able to find a natural way to display the iOS keypad (that has only numbers and a period) from the javascript code. As such, I used…
user2216194
  • 691
  • 3
  • 17
  • 27
0
votes
2 answers

Accessibility for blind people

How does the aria-current works as we need to tell the screen reader where the page it is even after user does not made any movement on the laptop. Which Aria can be used ?
0
votes
1 answer

Accessibility Full Screen Selection Issue

I have a tableView which is the table is UITableViewStyleGrouped style. Whose cell elements are accessible. But as soon as you select the outer area of the cell but within the table view the whole screen gets selected (as you can see black outline)…
Sanoj Kashyap
  • 5,020
  • 4
  • 49
  • 75
0
votes
2 answers

How to take screenshot of when I open Skype,FB,Twitter , but our app is running background using swift

how to take screenshot of when I am open Skype, FB or Twitter , but our app is running background using swift . Step 1: Open our app Step 2: Move to back ground state ,(press home button) Step 3: Open third party app like…
suripappu Rengan
  • 61
  • 1
  • 1
  • 5
0
votes
1 answer

Change the description of an object on text-to-speech

I'm currently working on providing accessibility to an app and I wanted to know if there's a way to change the description of a specific textField when you're marking/selecting it. Say you have myNumericInput: UITextField! which you set to…
0
votes
2 answers

Accessibility issue on expandable list using min-height

Expected requirement: I need to prevent looping through the inner items (Basically the voice over apps read these) while it's not expanded + Animation. What I have done: I put display:none property added to expandable list along with the animation…
Nevin Madhukar K
  • 3,031
  • 2
  • 25
  • 52
0
votes
1 answer

How to change the direction of focus in ios App to be right to left?

I am responsible for the integration of accessibility for an iOS application. And I am having difficulty in changing the focus direction from LTR to RTL. How can i do it in Xcode?
Moran
  • 435
  • 2
  • 6
  • 20
0
votes
1 answer

appium ios some buttons can not be inspected

There is a custom button that we can't inspect by appium iOS in our application. The problematic button has an Id. We can inspect it by Xcode accessibility inspector but we are not able to inspect it by appium web inspector. Additionally we tried…
0
votes
1 answer

How to set single VoiceOver for group of UIControls

I have a UIButton and a UILabel embedded in a UIStackView, which looks something like this in Interface Builder: By setting the UIStackView's isAccessibilityElement and accessibilityLabel properties, I have been able to group the UIButton and…
Marco
  • 6,692
  • 2
  • 27
  • 38
0
votes
1 answer

XC UITesting flickering with finding UIElements

I have a section of code that runs if the user needs to re-auth after logging in. During UI tests, this popover is sometimes displayed, so I have a check for it existing if (XCUIApplication().staticText["authLabel"].exists) { …
Jacob Boyd
  • 672
  • 3
  • 19
0
votes
0 answers

Is h3 inside td tag, accessibility compliant?

I had to place an

tag inside , but the voice over is not reading the text inside

tag. Earlier when the

was inside
, voice over / talkback were reading the text inside

. Can someone please suggest how can I use

inside…

sekhar
  • 371
  • 2
  • 10