GNOME Bugzilla – Bug 369210
The relation of Label_For/Labeled_By is missing in account setting window.
Last modified: 2009-04-05 21:53:50 UTC
Please describe the problem: This is an a11y bug for ekiga blind access. Steps to reproduce: 1. Enable desktop accessibility support. 2. Invoke ekiga, select top menu Edit->Account. 3. Click Add button in account window. 4. Invoke at-poke and track the structure tree to each text label and text entry or combobox. Actual results: The relation of Label_For/Labeled_By is missing between text label and text entry/combobox. Expected results: The relation of Label_For/Labeled_By should be there so that at-tools(orca) could report the label of each widget for user. Does this happen every time? Yes. Other information: No.
This bug is also visible in address book properties window.
Created attachment 79090 [details] [review] Test for explicit ATK support.
Hi Suns! Can you tell me if that's the right way at all? I have no expirience with accessibility. If you don't work with HEAD sourcecode, you can guess out of the patch what I do. I simply set explicit relations between some labels and their entries. Though, the results that Orca reads out are - funny sometimes. As I never got in touch with that before, it can be that it's normal. Comments? J.
Tim, any news?
I think that we ought to be able to do this in a simpler way. I will try and come up with something.
The labels should have mnemonics. Then when gtk_label_set_mnemonic_widget is called to associate an edit field or combo box with a label you will get the label-for/labelled-by relations for free. There is code in gail which will generate the relations.
Thank you so much Padraig, I'm just back from holidays.
*** This bug has been marked as a duplicate of 511462 ***
Could you modify the patch to take into account comment #6? It could be included for ekiga 3.2 in ten days...
After reading some gnome for atk documentation, and as shown in comment #6, it seems to me the only thing to do is to add mnemonics to labels and call gtk_label_set_mnemonic_widget with the right edit box. So the previous patch is too complex for that. Could you confirm that? Unfortunately, we are in string freeze, but this bug will be fixed in two weeks.
Created attachment 130165 [details] [review] Fixes the account dialogs The relation was already done (gtk_label_set_mnemonic_widget), it remained to set the mnemonics. To be checked in after the string freeze.
Patch checked in, closing bug.