How to know if a11y is activated



Hi,
back in 2008, nautilus implemented an enhanced keyboard
navigation,only activated when a11y was off, because this new
navigation would confuse visually impared people, details in
http://bugs.gnome.org/526802 . Now in gnome3 the condition that
checked if a11y was 'off' or 'on' is always returning 'on' so the
enhanced keyboard navigation is lost. The condition is the following:

a11y_is_off = ATK_IS_NO_OP_OBJECT (gtk_widget_get_accessible
(GTK_WIDGET (nautilus_container)))

so, is this the right way to check if accesibility is activated on a widget?

if that is true, does that mean that a11y is activated by default on
gnome 3? or is this distro-dependent?.. I'm in fedora 16 right now..


Sorry if my questions are obvious I dont know much about a11y I just
want to fix the nautilus regression[1]..

[1] https://bugzilla.gnome.org/show_bug.cgi?id=660881

Thank you!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]