diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 4184a56..f1b18dc 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -263,7 +263,9 @@ class PreferencesViewController: ParentViewController { private func setupShortcutObserver() { let defaults = NSUserDefaultsController.shared - recorderControl.setAccessibility("ShortcutControl") + recorderControl.setAccessibilityElement(true) + recorderControl.setAccessibilityIdentifier("ShortcutControl") + recorderControl.setAccessibilityLabel("ShortcutControl") recorderControl.bind(NSBindingName.value, to: defaults, withKeyPath: PreferencesConstants.hotKeyPathIdentifier,