DevPrep

All topics › Accessibility and localization

VoiceOver: label, value, hint and traits

Junior PRO

Essence

VoiceOver is the screen reader: the user drags a finger or swipes between elements, and the system reads their description. An element's description is assembled from several properties, each with its own role.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store