aom icon indicating copy to clipboard operation
aom copied to clipboard

Event path & steps to dispatch an event needs to be clearly defined

Open rniwa opened this issue 7 years ago • 3 comments

https://wicg.github.io/aom/spec/phase2.html says:

Accessibility input events go through capture and bubble phases, just like DOM events. The only difference is that the capture and bubble phases happen entirely in the accessibility tree. If the event is not canceled (by calling preventDefault()) after completely going through the capture and bubble phases in the accessibility tree, the event executes its fallback behavior, as defined in the accessibility attribute table.

When an event's fallback behavior involves firing a DOM event, the event's target will be the associated DOM node of the target AccessibleNode, or the associated DOM node of the nearest ancestor of the target AccessibleNode that has one. Fallback DOM events will go through capture and bubble phases just like any other DOM events.

This is not precise enough. The details of the event dispatching must be specified in as much detail as the one depicted in https://dom.spec.whatwg.org/#dispatching-events.

rniwa avatar Feb 20 '18 03:02 rniwa

@domenic @annevk

rniwa avatar Feb 20 '18 03:02 rniwa

Yeah, you basically want to define "get the parent" for AccessibleNode objects I suppose so that when you dispatch an event on them they can go through the AccessibleNode tree.

annevk avatar Feb 20 '18 08:02 annevk

Sir, Can anyone label 2-3 issues as easy or good-first-issue.....I want to contribute to this project.

Thank you

videetssinghai avatar Feb 24 '18 12:02 videetssinghai