• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't set a UILabel to not be accessible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't set a UILabel to not be accessible


  • Subject: Can't set a UILabel to not be accessible
  • From: Richard Groves <email@hidden>
  • Date: Fri, 05 Jul 2013 12:47:34 +0100

Hi,

I have a problem with the following:


UILabel* dayName;
<setup code omitted>

NSLog(@"DN-a11y Before: %@", dayName.isAccessibilityElement ? @"YES" : @"NO");

[dayName setIsAccessibilityElement:NO];

NSLog(@"DN-a11y After: %@", dayName.isAccessibilityElement ? @"YES" : @"NO");


Both log message report 'YES':

2013-07-05 12:45:10.882 BBC Weather[8578:c07] DN-a11y Before: YES

2013-07-05 12:45:10.882 BBC Weather[8578:c07] DN-a11y After: YES

and the label does indeed get read out in voice over.

Is this intended behaviour? We want to consolidate the text of two labels into one VO message read from another label to reduce the amount of elements in the VO list.


Thanks,
Richard

--
Richard Groves
Technical Director | NoodlFroot

M: +44 (0)7962 054 163

www.noodlfroot.com

NoodlFroot Limited is a company registered in England and Wales with registration number 07245048.
Registered office: 145-157 St John Street, London, EC1V 4PY.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Recording VoiceOver Audio on iOS
  • Next by Date: Re: Can't set a UILabel to not be accessible
  • Previous by thread: Re: Recording VoiceOver Audio on iOS
  • Next by thread: Re: Can't set a UILabel to not be accessible
  • Index(es):
    • Date
    • Thread