Skip to main content
type AccessibilityTraits =
    | "isButton"
    | "isLink"
    | "isSearchField"
    | "isImage"
    | "isSelected"
    | "playsSound"
    | "isKeyboardKey"
    | "isStaticText"
    | "isSummaryElement"
    | "updatesFrequently"
    | "startsMediaSession"
    | "allowsDirectInteraction"
    | "causesPageTurn"
    | "isModal"
    | "isHeader";
isButton
string
The element behaves like a button and can be activated.
The element is a link that navigates to another location.
isSearchField
string
The element is a search field for entering queries.
isImage
string
The element is an image. Assistive technologies may describe it differently.
isSelected
string
The element is currently selected (e.g. in a list or tab bar).
playsSound
string
Interacting with the element will play a sound.
isKeyboardKey
string
The element represents a keyboard key.
isStaticText
string
The element contains static, non-interactive text.
isSummaryElement
string
The element summarizes content when the app is inactive.
updatesFrequently
string
The element’s content updates frequently. Assistive technologies may poll it.
startsMediaSession
string
Activating the element starts a media playback session.
allowsDirectInteraction
string
The element allows direct touch interaction when using VoiceOver.
causesPageTurn
string
Activating the element causes a page turn.
isModal
string
The element presents modal content that must be dismissed first.
isHeader
string
The element is a header that labels a section of content.