Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Use the Interface Builder’s Identity Inspector > Accessibility pane (see Figure 22-1) to add labels and hints to the UIKit elements in your interface. These fields and the text they contain play different roles in the accessibility picture. Labels identify views; hints describe them. In addition to these fields, you’ll find a general accessibility Enabled check box and a number of Traits check boxes.
Figure 22-1 Interface Builder’s Identity Inspector lets you specify object accessibility information.
A good label tells the user what an item is, often with a single word. Label an accessible GUI the same way you’d label a button with text. “Edit,” “Delete,” and “Add” all describe what objects do. They’re excellent button text and accessibility label text.