GNOME Bugzilla – Bug 369302
The relation of Label_For/Labeled_By is missing in sound preferences.
Last modified: 2007-02-15 09:48:28 UTC
Please describe the problem: This is an a11y bug. Steps to reproduce: 1. Invoke sound preferences in Launch->Preferences->Sound. 2. Select the Devices tab. 3. Invoke the at-poke, track the structure in this tab. Actual results: The relation of Label_For/Labeled_By is missing in Devices tab. Expected results: The relation should be there so that orca could report each combobox with its label. Does this happen every time? Yes. Other information: No.
Created attachment 81412 [details] [review] Add a11y label relations in the Devices tab
Moving this to control-center.
Any maintainer input on this, please? Thanks in advance.
Looks good to me, but since I don't have a lot of insight into a11y matters, let me ask a stupid question: Why is this only needed on the devices tab?
Because running the "at-poke" a11y test tool shows that the appropriate ATK relations are already in place for the 'Sounds' tab, unlike the 'Devices' one.
Hrm, let me rephrase my question: The glade file does not contain any other <atkrelation> tags. Why are the relations in place for the other tabs, but not for devices?
The labels (on the Sounds tab) most probably come from the elements being explicitly created with gtk_label_new_with_mnemonic (in one of the libsounds library calls), which gives the atk relations 'for free' when created that way, as opposed to when parsing a glade file (i.e. the labels on the Devices tab) - in which case the atk relations have to be manually specified (as per the patch).
Ok, that sounds plausible. Thanks for the explanation.
2007-02-10 Jens Granseuer <jensgr@gmx.net> Patch by: Patrick Wade <patrick.wade@sun.com> * sound-properties.glade: add a11y label relations for the devices tab (fixes bug #369302)
Thanks for the commit Jens.