[Webkit-unassigned] [Bug 25678] New: [GTK] Implement ROLE_COMBO_BOX

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 10 17:16:08 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25678

           Summary: [GTK] Implement ROLE_COMBO_BOX
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joanmarie.diggs at gmail.com
                CC: xan.lopez at gmail.com, William.Walker at sun.com,
                    apinheiro at igalia.com


It seems that accessible combo boxes have not yet been implemented in WebKit.
There are a couple of variants that you could use as guides: Gecko and Gtk+
(see gtk-demo's Combo Box demo). Given a choice, I would suggest Gtk+, but as
long as the following general characteristics are implemented, ATs such as Orca
will be able to do the right thing:

1. The role should be ROLE_COMBO_BOX (currently WebKit is exposing combo boxes
as ROLE_UNKNOWN).

2. The selectable items in the combo box should be exposed somehow. Both Gecko
and Gtk+ combo boxes do this by giving the accessible combo box a single child
of ROLE_MENU. The menu, in turn, has children of ROLE_MENU_ITEM, one for each
selectable option in the combo box.

3. AT's should be able to ask for the selected item. You could do this via the
accessible name (which seems to have already been done). But ideally the
accessible selection interface will also be implemented as that seems to be
more reliable. Both Gecko and Gtk+ do this for the menu which is the child of
the combo box. Please see
http://library.gnome.org/devel/atk/unstable/AtkSelection.html for more
information.

4. The accessible stateset should include STATE_EXPANDABLE -- and
STATE_EXPANDED when appropriate.

5. The accessible action interface should be implemented so that ATs can
interact with the combo box (i.e. expand/collapse it). Gecko implements an
"open" action; Gtk+ a "press" action. (Please see
http://library.gnome.org/devel/atk/unstable/AtkAction.html for more info.)

6. Appropriate events should be emitted when the selection changes. Gecko emits
an object:state-changed:focused event for the menu item; Gtk+ emits an
object:selection-changed event for the combo box.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list