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
1 answer

iOS Accessibility Event when user performs a left/right flick action

When VoiceOver is enabled, I'd like to find out if the user is performing the left/right flick action while a UIButton is selected. There are few methods help you with when a specific element has received or lost…
Willam Hill
  • 1,572
  • 1
  • 17
  • 28
0
votes
1 answer

VoiceOver reading twice each element - Inconsistent Behavior

I am working on Accessibility. I am using XIB file and I enabled all the views which need to be read by voiceover.Now the issue is first cell in tableview is reading twice by the voiceover. That happens only first time. I have multiple cells in…
Rakesh iOS Dev
  • 935
  • 12
  • 19
0
votes
1 answer

Getting UITableViewCell from UIAccessibilityElement

I'm using the KIF framework and from various APIs I can fetch the UITableViewCellAccessibilityElement for a specific UITableViewCell subclass called RDTokenCell. (lldb) po element [UITableViewCellAccessibilityElement - 0x148c9f30]
Awesome-o
  • 2,002
  • 1
  • 26
  • 38
0
votes
1 answer

Accessibility: Embedding a UITableView inside the Footer of a UITableView

I am trying to reuse an existing UITableViewController by embedding a UITableView in the footer of an existing table. The premise is that on selection of a row, the footer will appear with a list of further, related options. This works fine but the…
0
votes
1 answer

How to use Accessibility Different Font Size for our Application?

I am implementing a functionality of changing font size of complete App. there will be three mode -- 1. Small 2. Medium 3.Large by clicking on small, app font will be reduced 20 % by clicking on Large, app font will be increased by 20% and by…
kshitij godara
  • 1,523
  • 18
  • 30
0
votes
1 answer

setIsAccessibilityElement not working in Custom TableViewCell?

I am using a Custom TableViewCell. I want to disable Accessibility for the cell and unchecked the accessibility in the Custom TableView Cell XIB. And even in the Implementation file, i am trying to set the setIsAccessibilityElement to NO. [self…
Pradeep Reddy Kypa
  • 3,992
  • 7
  • 57
  • 75
0
votes
1 answer

How can I get an accessibility swipe to navigate a collection of subviews correctly?

A single swipe gesture is intended by Apple to move the VoiceOver cursor through screen items in order but mine don't because the user can move them around! My main view has a set of buttons and labels, however it also has two collections of custom…
Stephen Watson
  • 1,700
  • 16
  • 17
0
votes
0 answers

Disable voiceover feedback on UIButton

I'm currently implementing accessibility for my game. I'm using UIAccessibilityTraitAllowsDirectInteraction for the buttons of the interface, as suggested by Apple. It works well, but the problem is that you have to touch every button of the…
Antoine Pastor
  • 207
  • 3
  • 11
0
votes
1 answer

UIAccessibility to delete UITableViewCells

As of ios6, in native apps like mail and message, if voice over is turned on, and you tap on one of the table view cells(i.e. a email), and you turn your two fingers to bring up the rotor, then one of the options that can be selected is 'actions'…
0
votes
1 answer

Accessing label text using accessibility identifiers

I have added an accessibility identifier to a label so that I can use it in my UIAutomation javascript files. How do I access the text on the label using accessibility identifier? Suppose "aLabel" is the accessibility identifier and my javascript…
tech_human
  • 6,592
  • 16
  • 65
  • 107
0
votes
1 answer

How to make long text accessible

I'm trying to make my app more accessible but I have a problem. Part of my app consists of pieces of advice, each composed of an UIScrollView with long text. (The text is a UIImage I prepared with Photoshop ). I would like to make it accessible so…
0
votes
1 answer

UIAccessibility on custom slider control

I have a custom control (UIView subclass) that is identical to "slide to unlock" control on the lock screen. Is there a way I can get notified when Voiceover has selected the view? Also, when it's selected the gesture recognizer is not receiving…
christo16
  • 4,843
  • 5
  • 42
  • 53
-1
votes
3 answers

Direct input area with accessibility tools on

Hello to everyone. This is my first question ever, and I know it could be a little tricky, but I'll try. I'm currently working on an accessible web app, and I wanted to build a "Direct touch area", just like some native apps for iOS, in which the…
-1
votes
1 answer

How to make HTML table/grid accessible with controls outside the table

I am challenged to make an HTML table/grid accessible, which offers the user the possibility to select a row and perform an action on the selected row. The following link gives an example, on how everything shall look like (without…
-1
votes
1 answer

iOS: How to ask voice over to read a particular label when a button is clicked

I have a UILabel that changes text when a button is clicked at the bottom of the screen and certain conditions are met. I want my voice-over to read that updated text when a button is clicked and the conditions are met. How do I do that
Nari
  • 333
  • 5
  • 13
1 2 3
36
37