troz,
@troz@mastodon.social avatar

I’m trying to add voice-over accessibility labels to the menu items in a SwiftUI MenuBarExtra app but nothing I do changes anything. I can add accessibility labels to standard elements in a window, but not to buttons in a MenuBarExtra. Has anyone got this to work?

MuseumShuffle,
@MuseumShuffle@mastodon.social avatar

@troz @RobW I don't know if it's related, but I can't get VoiceOver to read my accessibility labels for Buttons in my Menu either in my standard SwiftUI app. I ended up just commenting them out and leaving a note so I could try again later.

ryanlintott,
@ryanlintott@mastodon.social avatar

@MuseumShuffle @troz @RobW if you’re applying the accessibility label outside the button the Menu might be ignoring it (even though it shouldn’t). Try applying it to the Label inside the button or the Text inside the label and you might get better results?

MuseumShuffle,
@MuseumShuffle@mastodon.social avatar

@ryanlintott @troz @RobW thanks Ryan. That commented out hint that is attached to the label wasn’t being read either. Now trying the text inside the label is something I did not do. I’ll give it a shot.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • InstantRegret
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • Youngstown
  • mdbf
  • slotface
  • ngwrru68w68
  • tester
  • kavyap
  • everett
  • Durango
  • JUstTest
  • ethstaker
  • cubers
  • modclub
  • GTA5RPClips
  • tacticalgear
  • Leos
  • khanakhh
  • normalnudes
  • provamag3
  • cisconetworking
  • anitta
  • megavids
  • lostlight
  • All magazines