RE: VoiceOver reading font information unexpectedly
RE: VoiceOver reading font information unexpectedly
- Subject: RE: VoiceOver reading font information unexpectedly
- From: Charlie Powell <email@hidden>
- Date: Thu, 25 Jun 2015 18:06:38 +0000
- Thread-topic: VoiceOver reading font information unexpectedly
No, I couldn’t reproduce in TextEdit or Pages. I ended up tracing this down to the fact that I was posting NSAccessibilityValueChangedNotification in cases where the value
of the element hasn’t actually changed. Once I stopped posting this notification, the behavior went away.
I’m not sure if this is actually expected behavior or not, but I can try to work on creating a sample app to demonstrate the issue.
From: Josh Scotland [mailto:email@hidden]
Sent: Thursday, June 25, 2015 12:29 AM
To: Charlie Powell <email@hidden>
Cc: email@hidden
Subject: Re: VoiceOver reading font information unexpectedly
Hey Charlie,
Correct, VoiceOver shouldn’t be outputting text attribute changes if the user preference is turned off. The user preference is in VoiceOver Utility -> Verbosity -> Text -> When text attributes change, which has ‘Do nothing’ as the default.
Please file a bug and include reproduction steps if possible.
Are you able to reproduce the font change announcement behavior in TextEdit or Pages?
On Jun 15, 2015, at 10:59 AM, Charlie Powell <email@hidden> wrote:
After adding support for accessibilityAttributedStringForRange: in my text editing application, I’m observing some weird behavior where VoiceOver
reads font information after moving the selection using just the arrow keys (as opposed to the VO+arrow key shortcuts).
Line 1 of my text has Font A applied, and line 2 (which is really another paragraph created using the return key) has Font B applied. With
selection at the beginning of line 1, I hit the down arrow key (*not* VO-down arrow) and VoiceOver reads the text on that line. Then shortly after (maybe about 1s), it reads the name of Font B, which I’m not expecting. I have all the default VO preferences
set, specifically that it does nothing when selection moves to content with different font/attributes/etc.
Based on some debugging, I see something asking for the accessibilityAttributedStringForRange: of the end of line 1 after giving all the
information for line 2, but it’s not clear to me why that’s happening. My app has special text input, and so when the selection changes I post NSAccessibilityValueChangedNotification and NSAccessibilitySelectedTextChangedNotification in order to get VoiceOver
to properly read content.
Is it possible there’s a bug in VoiceOver here? Users are complaining about this behavior but I have no idea what my application might be
doing to cause VoiceOver to behave like this…
_______________________________________________
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
|
_______________________________________________
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