[g-a-devel]Accessibility for gtkhtml2



I have been looking at providing accessibility suppport for gtkhtml2, which
is a library used by yelp, the gnome-2 help browser, to render html.

The main widget is HtmlView. This widget has a HtmlDocument, which consists
of a tree of DomNodes, which is the logical view of the data.

The HtmlView also has a tree of HtmlBox objects, which is the layout view of
the data. Each box has a DomNode associated with it.

At present, I have implemented accessibility support so that the HtmlBox 
objects are exposed as children of the HtmlView. If the text in a HtmlBox
would exceed one line the HtmlBox is split so that there is a HtmlBox
for the text on each line. 

I think that I need to change this to report only one accessible object in this 
case.

It looks like the HtmlBox objects which contain text will need to implement
the AtkHypertext interface in order to find the links.

A AtkHyperlink will need to be created for each link.

Comments on the above welcome.

Padraig

------------- End Forwarded Message -------------





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