Tag: accessibilityElementsHidden
2 posts

What is the difference between isAccessibilityElement and accessibilityElementsHidden? The first one makes the view not accessible, but its subviews can still be accessible. The second one hides the view and all its subviews from assistive tech.

If you need for a view (and all its subviews) not to be focusable by assistive tech like VoiceOver, you can set its accessibilityElementsHidden property to true. This isn't needed very often, but it can be useful for certain custom experiences.
All Tags
a11ya11yTOconfAccessibilityaccessibility identifierAccessibility InspectorAccessibility ModifiersaccessibilityActionaccessibilityActivationPointaccessibilityAdjustableActionaccessibilityChildrenaccessibilityContaineraccessibilityElementaccessibilityElementsaccessibilityElementsHiddenaccessibilityFrameaccessibilityIdentifieraccessibilityIgnoresInvertColorsaccessibilityLabelaccessibilitySpeechIPANotationaccessibilitySpeechPitchaccessibilitySpeechPunctuationaccessibilitySpeechSpellOutaccessibilityTraitsaccessibilityUserInputLabelsaccessibilityValueaccessibilityViewIsModaladjustableallowsDirectInteractionAppleAssistiveTouchAudio GraphsBold TextbooksClassic InvertDynamic TypeFull Keyboard AccessGAADGAAD2022GAAD22hapticHIGHuman Interface GuidelinesIncrease ContrastInterface BuilderiOSiPadOSisModalisSearchFieldisSelectedisSummaryElementisTabBarkeyboardShortcutLarge Content ViewerLarger TextMagnifierNSSpainXplaysSoundReduce MotionRotorScreen CurtainsimulatorSmart InvertSpeak ScreenspeechPitchstartsMediaSessionSwiftUISwitchSwitch ControlUIAccessibilityUIAccessibilityCustomActionUIKeyCommandUIKitUISwitchupdatesFrequentlyvisionOSVoice ControlVoiceOverWWDCWWDC22WWDC23XcodeZoom
