зеркало из https://github.com/mozilla/pjs.git
Bug 196668 gnopernicus says nothing when XUL radio buttons state changes
fix it by adding another FOCUS event
This commit is contained in:
Родитель
92ad0870c0
Коммит
abb1ebebac
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче