Re: [orca-list] in need of c++ code to add accessible labels
- From: Alex Midence <alex midence gmail com>
- To: kendell clark <coffeekingms gmail com>
- Cc: "orca-list gnome org" <orca-list gnome org>
- Subject: Re: [orca-list] in need of c++ code to add accessible labels
- Date: Tue, 14 Jul 2015 21:42:12 -0500
Don't be discouraged. The fact that you already know a smattering ofC/C++ Will give you a clue to how
JavaScript is put together since it uses exactly the same syntax. It should be reasonably possible for you to
try and find some of those classes. And some of the places in the classes were the label goes. You may find
that you are able to get on more than you think. I had to browse through some JavaScript code when I was
designing some training courses because of an API that a lot of e-learning use is calledScorm and it was
pretty neat how, though I could not write this kind of code myself, I can fairly easily make out what they
were going for just because of the fact that I had studied C and C++ A little bit Wayback win.
BR'
Alex
Sent from my iPhone
On Jul 14, 2015, at 5:34 AM, kendell clark <coffeekingms gmail com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
hi
This is disappointing. I know enough about c++ or c to at least
attempt this, but I know nothing about java script. Someone else is
going to attack this or I'm going to have to resort to filing bugs
with good comments saying what the label should be, rather than being
able to do this myself. I wish I was more of a programmer, but I'm
not, at least not yet.
Thanks
Kendell clark
Alejandro Piñeiro wrote:
On 10/07/15 13:51, chrys87 web de wrote:
Hi Kendell,
I dont know if that helps you but here are some examples how this
does
work:
Set an accessible name in xml structure (i think created by
glade)
https://git.gnome.org/browse/gnome-control-center/commit/?id=c72062ba6
5f9a4f587485852287881f8e4275dd5
https://git.gnome.org/browse/nautilus/commit/?id=7afbac0a64f1734842ed64e
333c9147de1cdbcd9
the same as c++ code
https://git.gnome.org/browse/gnome-boxes/commit/?id=2a76776e8d6247aef5
ac8970f25f7ec41c274440
assign a lable in xml
<accessibility> <relation type="labelled-by" target="label10"/>
</accessibility> like here (line 154)
https://git.gnome.org/browse/gnome-control-center/tree/panels/printers
/printers.ui?id=38958903eea61d3216ae3e0d702b27bcc0b7996b#n154
here is also some useful information:
https://gramps-project.org/wiki/index.php?title=Accessibility
cheers chrys
Note that in the original email he mentioned that was interested
specifically on gnome-shell. gnome-shell doesn't use glade.
Gesendet: Freitag, 10. Juli 2015 um 09:48 Uhr Von: "kendell
clark" <coffeekingms gmail com> An: "Orca List"
<orca-list gnome org> Betreff: [orca-list] in need of c++ code
to add accessible labels
hi all I was planning to go through all of the gnome shell apps
and control panel items this weekend that are lacking labels, set
them in the code and send in patches to the bug reports I have
open so they can be fixed. Can anyone on here give me some
generic c code to set an accessible widget label and a tooltip? I
don't need anything fancy to write callbacks since that's already
been implemented in the ui code. I just need a label and a
tooltip. Then I can hook those up to the buttons. I'm assuming
they go inside the button definition? I'm completely new at all
of this so bear with me. This should dramatically improve the
accessibility of gnome shell. Once ths is fixed I can tackle
mate. Thanks Kendell clark
_______________________________________________ orca-list
mailing list orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list Visit
http://live.gnome.org/Orca for more information on Orca. The
manual is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find
out how to help at http://live.gnome.org/Orca/HowCanIHelp
_______________________________________________ orca-list mailing
list orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list Visit
http://live.gnome.org/Orca for more information on Orca. The
manual is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find
out how to help at http://live.gnome.org/Orca/HowCanIHelp
_______________________________________________ orca-list mailing
list orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list Visit
http://live.gnome.org/Orca for more information on Orca. The manual
is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org Find out
how to help at http://live.gnome.org/Orca/HowCanIHelp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJVpOW3AAoJEGYgJ5/kqBTdlSUP/Al7chMzxQTR+Sy10kLPJroy
AGFEsvPtY1NOhWlzXkpPHbVzIc7DfP+CIq0WkATpGS479EwVmRKKeFWV0XUH/twX
tKahn0DPzUxUSXhZKiNX5CYzmrmc0jEkR2S2St9OvxQwquhNmTCUq90xc7t73itj
eyckMc/PhLbxkdspMO9Lf8ifkLaz4eLtIg5LaFqY7k01rsITFVkvbLg5M8QcKrv4
i6RHAI6juTuY9GjYZY1a/BwVGxdh8E7iC/8e7XfdFvZf469aDoTO7tHMDUoi4by3
0C6dAMnQLB/GLS6tSQdWt8z9ajIcN8zRcqbwwaRl56Ytr26qgL6IpTK5wMRL5YYQ
NP05cg+h9Ub5P5CussVSt1m2bVCv4QPd8oRcNsxd3GH0AyQ8ylXCSIoenkyu29xP
2KUAKA3EqMeZum50RlwlZTWJuPJfIfYbZrxm8t6YqvPpLoaZsViouvZL/+q1RwrV
2ECBHsx9BzwUyhlNsq1pou9Ka19HwBjLsaOld2cIashD10mBWVSYPHrQrUq1bZPo
OUJSOAgv1Vz/0keKsi567BTdILCOZuNIszx9YfequM3OSwXCNqLwKVUUekL2FW1N
+GG6/31+cN02iD7E8ncOL3KjttVUQKvyHWkjKcF5GqSQHzB9ncDAvbQ904xD1nBR
NZgWnPcOncfD0+qCqZFb
=wFxe
-----END PGP SIGNATURE-----
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]