Bug 196668 gnopernicus says nothing when XUL radio buttons state changes

fix it by adding another FOCUS event
This commit is contained in:
simford.dong%sun.com 2003-03-20 08:48:19 +00:00
Родитель 92ad0870c0
Коммит abb1ebebac
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -610,6 +610,9 @@ NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
stateData.enable = (stateData.state & STATE_CHECKED) != 0;
stateData.state = STATE_CHECKED;
HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible, &stateData);
if (eventType.EqualsIgnoreCase("RadioStateChange")) {
FireAccessibleFocusEvent(accessible, targetNode);
}
}
else if (eventType.EqualsIgnoreCase("popupshowing"))
FireAccessibleFocusEvent(accessible, targetNode);