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

How to make iOS VoiceOver read View and subview as a whole

I have a UITableView that displays a list of items, with a subclass of UITableViewCell. In that cell, I have a hierarchy of UILabels and subviews like so: UITableViewCell subclass - UILabel a - UILabel b - UILabel c - UIView subclass 1 - UILabel…
invalidArgument
  • 2,289
  • 4
  • 24
  • 35
0
votes
1 answer

VoiceOver, but not Speak Screen talking on iOS 9

I have a page on an iOS app, that really consists of a series of custom buttons. The buttons are in a view hierarchy that consists of two labels and an image view behind them. For accessibility support, I have made the two labels hidden to the…
0
votes
2 answers

Registering new voice commands from my app to iOS Voice Control engine

Does anybody know if Apple iOS API allows to add new commands to build in iOS Voice Control engine. I noticed that Voice Control can control phone application using names, nicknames from address book. It can also play music list from default iOS…
0
votes
1 answer

ECSlidingViewController2 - hidden menu tappable with VoiceOver on

When using ECSlidingViewController2, How can we prevent the under left menu from being tapped with VoiceOver on and the menu is under the top view? Try the BasicMenu example. When on the Home view, you can tap the options on the menu underneath.
0
votes
0 answers

App crashes when voice over enabled during pull to refresh

Crash occuring when I pulltorefresh a page with voice over enabled. The crash occuring inside the iOS. I am not familiar with this crash. I am stuck in this crash. Can anyone please help me? Why this crash occuring? How can I solve this? Please see…
neena
  • 551
  • 1
  • 8
  • 24
0
votes
1 answer

What is UIAccessibilityTraitUpdatesFrequently in iOS UIAccessibility?

I'm developing application which is also for blind people. I'm using UITextField, where 508/VA(Professional Testing team) asking us to implement UIAccessibilityTraitUpdatesFrequently. I went through documentation from Apple, but I didn't got any…
Harshavardhan
  • 1,266
  • 2
  • 14
  • 25
0
votes
1 answer

How to identify a Login Page of a App from my app using Accessibility in android

Hi. Using Accessibility, i am trying to auto fill username & password of an any app from my app which is managing username & password of all apps like dashlane. i found one way to auto fill field value using Action_Paste. when user starts to…
0
votes
1 answer

Accessibility Voice Over loses focus on Segmented SubView

I'm working on an Accessibility project where I have a segmentedController in the NavigationBar. Almost everything is working fine until the focus comes at the middle (2/3) SegmentedController. It won't speak the the accessibilityLabel.. See my…
SwingerDinger
  • 276
  • 1
  • 7
  • 21
0
votes
0 answers

UIAccessibilityScrollDirection won't scroll good

I'm using MBXPageViewController as a UIPageViewController. I'm trying to make the app more accessible with the UIAccessibilityScrollDirection method. This works almost fine, but has a couple of issues: The scrollDirection makes 2 steps to the…
SwingerDinger
  • 276
  • 1
  • 7
  • 21
0
votes
2 answers

Xcode - disable accessibility on all elements

I am trying to disable accessibility for all of the UI elements that appear on my screen. Afterwards my plan is to re-enable only specific elements based on the user's interactions with the app. I've been trying to accomplish this by passing…
Taluca
  • 45
  • 2
  • 8
0
votes
1 answer

UIAccessibilityAnnouncementNotification doesn't fire off in background mode

I am working on a simple app where I need to make post a UIAccessibilityAnnouncementNotification when user is near a specific point. When the app is active, everything works fine. When I press the Home key, everything stops working. To narrow down…
Autonomous
  • 8,935
  • 1
  • 38
  • 77
0
votes
0 answers

Change accessibility reading order of UINavigationBar

I am working on a application in which I am implementing accessibility features. My UINavigationBar has left and right bar buttons as well as a navigation item title. Current accessibility order is: Left bar button Right bar button Navigation item…
0
votes
1 answer

Does this iOS UITableView need restructuring in order to allow accessibility and automation?

I've got an app which was developed by an outside company, and am attempting to use UI-Automation (or Appium) to get some basic regression tests up. However, certain buttons on the page are inaccessible, despite having accessibility and labels. I…
ThreeHams
  • 125
  • 1
  • 7
0
votes
1 answer

accessibility cocoa api to do user actions click on buttons and set value on textfield

I have used Accessibility which will allow me to access other apps and UI elements as well. I have used UIElementInspector sample code from Apple's site. Now if i have
Shelar
  • 46
  • 7
0
votes
1 answer

UIAccessibility and Apple Pay voice-over interaction issue

I am noticing some strange behavior with the interaction of the application, accessibility, and Apple Pay. If a user does anything to dismiss the Apple Pay sheet while voice-over is active, the name of the application is re-read when voice-over…
Justin
  • 464
  • 5
  • 14