Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
releng:4.10:roadmap:accessibility [2011/09/09 01:49] joaniereleng:4.10:roadmap:accessibility [2011/09/15 00:17] (current) – [A11y Activation over D-Bus] jannis
Line 15: Line 15:
 Currently if Xfce4-session is compiled with ''--enable-gnome'' (enable gconf) and Gnome compatibility is checked in the setting, we check the ''/desktop/gnome/interface/accessibility'' key and if set to true, the string array in ''/desktop/gnome/accessibility/startup/exec_ats'' is spawned (see [[http://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/xfsm-compat-gnome.c|code]]).\\ Currently if Xfce4-session is compiled with ''--enable-gnome'' (enable gconf) and Gnome compatibility is checked in the setting, we check the ''/desktop/gnome/interface/accessibility'' key and if set to true, the string array in ''/desktop/gnome/accessibility/startup/exec_ats'' is spawned (see [[http://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/xfsm-compat-gnome.c|code]]).\\
 This is obviously hard to find and also not fully working since the required Gtk modules are not loaded as well (this probably was handled by gdm, but not any more?). This is obviously hard to find and also not fully working since the required Gtk modules are not loaded as well (this probably was handled by gdm, but not any more?).
 +
 +===== A11y Activation over D-Bus =====
 +
 +There has been a proposal for a D-Bus property to synchronize the setting that says whether assistive technologies are enabled across applications and desktop environments. We already have a "Enable assistive technologies" check button in the accessibility settings dialog. All we have to do is set the ''org.a11y.status.IsEnabled'' property on startup and update our setting whenever the this property changes. This will allow applications like Orca to enable AT support in Xfce automatically. That way blind users can just start Orca--followed by a logout/login--to activate AT, rather than having to search for the "Enable assistive technologies" check button.
 +
 +==== Links ====
 +
 +  * https://mail.gnome.org/archives/release-team/2011-August/msg00036.html
 +  * https://mail.gnome.org/archives/desktop-devel-list/2011-May/msg00397.html
 +
 +==== Notes ====
 +
 +The D-Bus API proposed in the mails is outdated. at-spi2-core implements the following API instead (see http://git.gnome.org/browse/at-spi2-core/tree/bus/at-spi-bus-launcher.c#n60):
 +<code>
 +<interface name='org.a11y.Status'>
 +  <property name='IsEnabled' type='b' access='readwrite'/>
 +</interface>
 +</code>
 ===== Testing ===== ===== Testing =====
 <del> <del>
 Testing can be done by running Orca or Accerciser and start the application with ''GTK_MODULES="gail:atk-bridge"'' in the environ</del>. -- option for this in the accessibility dialog. Testing can be done by running Orca or Accerciser and start the application with ''GTK_MODULES="gail:atk-bridge"'' in the environ</del>. -- option for this in the accessibility dialog.
  
-We need an xfce-a11y mailing list for discussion on accessibility issues.+<del>We need an xfce-a11y mailing list for discussion on accessibility issues.</del> [[https://mail.xfce.org/mailman/listinfo/xfce-a11y|Xfce-a11y list]].
 ===== Core Changes and Ideas ===== ===== Core Changes and Ideas =====