DateGadget doesn't read when changing focused field and using screen reader

Windows specific forum
Quin
Addict
Addict
Posts: 1132
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

DateGadget doesn't read when changing focused field and using screen reader

Post by Quin »

Got an accessibility bug today...
I create a DateGadget like so:

Code: Select all

DateGadget(#DatSetDateTime, 15, 35, 210, 25, "%yyyy/%mm/%dd %hh:%ii", 0, #PB_Date_UpDown)
Have also done:

Code: Select all

DateGadget(#DatSetDateTime, 15, 35, 210, 25, "%yyyy/%mm/%dd %hh:%ii")
and

Code: Select all

DateGadget(#DatSetDateTime, 15, 35, 210, 25)
and I can hear the updated value when I use the up and down arrow keys, but I can't hear what I'm selecting with the left and right arrow keys. I just have to press up/down and hear what changed.
PB 6.11 (LTS) x64, Windows 10/11 IoT LTSC
Quin
Addict
Addict
Posts: 1132
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: DateGadget doesn't read when changing focused field and using screen reader

Post by Quin »

Wow, seemingly PB's DateGadget just doesn't like screen readers at all... :(
The reader I was using for all the tests in my first post was NVDA. I tried with Narrator, and it's...worse! Narrator doesn't read left or right arrow key presses, up/down arrow key presses or even the initial value of the field/its role when I tab to it... :mrgreen: :oops:
Fred
Administrator
Administrator
Posts: 18199
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: DateGadget doesn't read when changing focused field and using screen reader

Post by Fred »

It's the regular Windows control we use.. https://learn.microsoft.com/en-us/windo ... r-controls
Quin
Addict
Addict
Posts: 1132
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: DateGadget doesn't read when changing focused field and using screen reader

Post by Quin »

*sighs* leave it to Microsoft to introduce a Windows control that's completely inaccessible with their own f#$king screen reader.
I wonder if anything can be done to help this? I called a few methods on a multiselect ListViewGadget from the IAccessible COM object to make it accessible in one app, wonder if we can do something similar?
Post Reply