Accessibility

From Gramps
Revision as of 09:09, 19 October 2011 by Romjerome (talk | contribs) (Accessibility support)
Jump to: navigation, search

Accessibility support

Into Glade

  • Gtk label

GtkLabel automaticaly generates accessibility keys on next GtkEntry and UndoableEntry fields. Remember that Gramps also uses custom widgets like StyledTextEditor and ValidatableMaskedEntry, which do not provide relation with a GtkLabel.

  • Toggle buttons and Icons on toolbar

Gramps often uses toogle buttons and alone image (no label), this excludes blind people and generates a poor interface for accessibility.

Think on accessibility support when you use widgets without relation with a Gtk label or alone image on a toggle button, by adding:

<property name="AtkObject::accessible-name" translatable="yes" comments="">Name access</property>
...
<accessibility>
  <relation type="labelled-by" target="label209"/>
</accessibility>

Into python