diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index e2a30a0..774d3eb 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -268,7 +268,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,