After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754542 - Friendlier a11y labels for resources scales
Friendlier a11y labels for resources scales
Status: RESOLVED OBSOLETE
Product: gnome-boxes
Classification: Applications
Component: wizard
3.16.x
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-09-03 21:48 UTC by chris
Modified: 2018-01-11 10:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description chris 2015-09-03 21:48:56 UTC
Hi,

The controls in the "change properties for a new machine" dialog should have an a11y lable/reference

How to reproduce.

1. start orca
2. start boxes
3. click new ( for creating a new machine)
4. select an image
5. click <Tab> to focus the "anpassen.." in german (maybe "change..." in english button
4. <tab> arround

what should happen:
orca read "Memory": 3,8 GB
or
"size of device": 50 GB

what happens:
Orca just say really high numbers on the focus the scale controls and no lable
Comment 1 Zeeshan Ali 2015-09-30 13:28:06 UTC
So I can half-reproduce this in 3.18. It reads "Memory: 2 billion...". I tried to add relationship on the label, with scale as target and ATK_RELATION_LABEL_FOR relationship type but it did not help. Neither did setting accessible-name nor accessible-description helped. So I don't know how to fix this. :(
Comment 2 Joanmarie Diggs (IRC: joanie) 2015-09-30 13:47:26 UTC
See also this bug in which I ask for user-consumable values exposed via AtkValue.
https://bugzilla.gnome.org/show_bug.cgi?id=746643

It would be great if this could be solved within Gtk+ so that we don't have to force each app developer to manually try to change this -- after they are told there is a need to change it.
Comment 3 Zeeshan Ali 2015-09-30 13:53:38 UTC
Based on our chat, this isn't a trivial issue so I'm postponing this to 3.20:

joanie> zeenix: if the value were exposed as a non-crazy number via atkvalue, would that help?
<joanie> because the volume level for sound suffers from a similar problem
<joanie> and the fix imho is that widgets implementing AtkValue expose values that are presentable
<joanie> to users
<joanie> but if what you want is for Orca to do something special with your particular widget, please transfer the bug to Orca
<joanie> and I'll deal with it next week
<joanie> zeenix: https://bugzilla.gnome.org/show_bug.cgi?id=746643
<joanie> these kinds of things will continuously come up
<joanie> and each app dev can manually fix them
<joanie> or we can get something either modified or added to Gtk+
<zeenix> how do i manually fix it?
<zeenix> i don't see a way to get the AtkValue
<joanie> override the implementation of AtkValue
<joanie> and no Company
<mclasen> zeenix: did you try the reverse relation ? LABELLED_BY ?
<joanie> mclasen: you have any thoughts on zeenix's question (re override AtkValue)?
<zeenix> mclasen: no, let me try..
<mclasen> and I have no immediate insight into the atkvalue question
<joanie> mclasen: Given a widget which implements AtkValue, Orca tends to present what is exposed
<joanie> like in bug 746643
<mclasen> but in principle: subclass GtkScale, and copy the a11y implementation for it
<mclasen> and make changes as needed
<joanie> seems we lost bugbot
<zeenix> mclasen: that kinda helps
<zeenix> mclasen: instead of "Memory: 2 billion..", it now says "2.0 GB slider 2 billion.."
<mclasen> gtk_widget_class_set_accessible_type is what you want to call from your class_init
Comment 4 GNOME Infrastructure Team 2018-01-11 10:26:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-boxes/issues/70.