Tag: playsSound
1 post
There is another accessibility trait: .playsSound, that does a similar thing than .startsMediaSession. This one seems more suitable for buttons that have their own sound effects when interacting with them, like it often happens in games.
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
