`accessibilityUserInputLabels` is ignored on `UIBarButtonItem`

accessibilityUserInputLabels is working fine with any view I tried this on. Meaning that the control can be toggled with the provided alternative names when using Voice Control.

When setting this property on any UIBarButtonItem though, it seems Voice Control ignores the alternative names provided by setting accessibilityUserInputLabels. For comparison, accessibilityLabel works perfectly when set on UIBarButtonItem.

Is anyone facing the same issue?

Using Xcode 16.0 (16A242) on iOS 18

Answered by Bigby Woody in 854606022

Follow-up: Apple did reply to the feedback the 21st November 2024, letting me know they are working on fixing the issue.

The UIBarButtonItem is not a user input control.

Filed a feedback: FB15518900

Accepted Answer

Follow-up: Apple did reply to the feedback the 21st November 2024, letting me know they are working on fixing the issue.

`accessibilityUserInputLabels` is ignored on `UIBarButtonItem`
 
 
Q