让一个 GNOME 应用程序具有辅助功能 - 综述

如果你的应用程序只使用标准 GTK 部件,你可以做很少甚至不做任何事情就能让程序获得(适当的)辅助功能。但要注意那些没有文字说明的GUI对象,比如没有文本标签的图形按钮或者没有工具提示信息的状态指示器。

You can probably also improve on the default descriptions provided for some of the widgets, and tailor them to that widget's specific purpose in your application. You should add or change the textual descriptions for these widgets with the appropriate ATK function call, so that an assistive technology can describe their purpose or state to the user. See Coding Guidelines for Supporting Accessibility for more information.

如果你的程序使用自定义部件,可能需要做些工作以使这些部件利用辅助技术。参阅 让自定义组件获得辅助功能 使用辅助功能 API 的示例 获取更多信息。更多详细内容也可参见 Marc Mulcahy 的 2002 GUADEC 演示文档, “制作具有辅助功能的 GNOME 应用程序”。