Re: Setting accessible name for SpinButton and ComboButton in pygtk2
- From: Alex ARNAUD <alexarnaud hypra fr>
- To: Nolan Darilek <nolan thewordnerd info>, GNOME Accessibility <gnome-accessibility-list gnome org>
- Subject: Re: Setting accessible name for SpinButton and ComboButton in pygtk2
- Date: Thu, 29 Mar 2018 16:50:57 +0200
Could you provide us simple steps to reproduce the issue you have? Or a
function or ui file that generate the spinbutton or combobox?
Best regards,
Alex.
Le 28/03/2018 à 18:49, Nolan Darilek a écrit :
Hello,
I'm trying to learn a bit about GTK/GNOME accessibility development.
Recently I began dipping my toes into amateur radio, and while the Chirp
radio programming software is highly accessible, there are some rough
edges. The biggest of these is that programatically-created radio
settings screens don't associate labels with their widgets.
Chirp uses pygtk2. After it creates the widget, I use the following:
print("Setting name", element.get_shortname(), widget)
widget.get_accessible().set_name(element.get_shortname())
And this correctly sets the accessible name for checkboxes, text areas,
everything but SpinBoxes and ComboBoxes.
Am I on the right track with this? How do I associate a label with a
Combo/Spin box such that tabbing onto it speaks the associated label?
This works with checkboxes/text areas, so I don't know if I'm doing
something incorrectly, or if this is an Orca issue.
Thanks.
_______________________________________________
gnome-accessibility-list mailing list
gnome-accessibility-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]