GNOME Bugzilla – Bug 754542
Friendlier a11y labels for resources scales
Last modified: 2018-01-11 10:26:58 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
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. :(
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.
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
-- 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.