Re: [orca-list] in need of c++ code to add accessible labels



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=c72062ba65f9a4f587485852287881f8e4275dd5
https://git.gnome.org/browse/nautilus/commit/?id=7afbac0a64f1734842ed64e333c9147de1cdbcd9
the same as c++ code
https://git.gnome.org/browse/gnome-boxes/commit/?id=2a76776e8d6247aef5ac8970f25f7ec41c274440

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

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVn3jSAAoJEGYgJ5/kqBTdzugP/R5hOtX9YXOb+uPp6CxXGhlu
2VwQqiVg15mY3124WmPHW6E0hImVF/gClJFxM2Vyh1nEY23WmCe/VAo3d+nekA8X
V1i9N6ke9lkFmgOIbZNFltDcM1Ji4cAdFa2LE6DczlHD7KZvT09undGMFnoT1A0i
88s+vGW1j7Or0DT/I1e2wZxW9oom0rvy4ay3qA2S2E6RrAqmxtrrK4JojqgTB7ms
sD5tX5XWninjz1uiEeK9xZB5Lt79hZcpKBw9bCHA5JomtSI1p8Qf6hswvmHTEJRa
e5R9Iw9z+do+GWc5/0RXRgBmtr6RSB9eHX7khYEXVhCkc7zmflWDw0iDewef895/
P9KI142EfvbWWmIN8YpGHQjun1FelCusG6a9J9fNxGjExaTtkWJqjKCYVCKaB7UA
kXk2/lXNzWVDKIkMUK380lBHw9UvaaosJJ7BQinCrda0TNci3q1kDdboqt4hcBKb
6diJyk/0N5CgJsL4+Ahw7qrPPTJJtKHu4AQBRmUQkc4GcIbSJSkbJiIDLJbZ4KaB
a4cd5i1KlDedZ4kLTnK1rnGmfTNg3lHUWkn7g/pAlTdKfJ04d4ItklBxhkM92KM9
M2/Zmf1E9vgWCSH6mzC83FNqPRnMHSpYE5KZzvKCrC/DYd9eBEYTDMwAt9tYXRBQ
wBIm3aCcKvsf4VQgpycz
=6HW8
-----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]