Tuesday Jan 13, 2009

Accessible Relation - how to specify it using Glade-3

While I have been working to get a new printing application to work on OpenSolaris, QA has logged an accessibility bug which got me going to learn something about accessible relation. When a visually impaired person requires the use of speech program such as Orca to navigate around the GUI, it needs some context as to what a particular GUI element is supposed to do. In GUI we often have the label and text fields pairs to understand the context. When one is totally relying on audio, that label/text pair has to be closely associated. That is, when a input field is entered, the speech program not only have to tell the user what is the type of the input field and also what it is for based on the corresponding label.

If you are using glade tool to specify your GUI, this accessible relation can be easily specified by the following steps with glade-3:

1. Find out the name of the label, as the picture shows its value is 'label200'

From Accessibility relations

2. Find out the name of the related input field, as the pictures shows it to be 'cmbentNPTLpdHost'
From Accessibility relations

3. Express the label-for relation for the label, as the picture shows 'label200' is for 'cmbentNPTLpdHost'
From Accessibility relations

4. Express the label-by relation for the input field, as the picture shows 'cmbentNPTLpdHost' is labeled by 'label200'

From Accessibility relations

Once these relations are expressed using glade-3 (similarly with glade-2), the accessible technology tool such as Orca will speak out correctly when the user navigate to the input field.

About

I work in the Desktop Group Site Meter

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today