You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working on the implementation of synthesized keyboard events for AT events in Chromium, building up from an existing proof of concept for increment/decrement: https://crrev.com/c/2264176
The first times I went through the document, it was a bit hard for me to understand the problem that these events were trying to solve, and the way to test our implementation.
I can find two main purposes for these synthetic events. On the one hand, this is explicitly mentioned:
To preserve the privacy of assistive technology users, events from assistive technology will typically cause a synthesised DOM event to be triggered.
It's not explained how this could be a privacy issue, but I understand it's because websites can detect AT actions finding out if there is an associated mouse or keyboard event. I've written an example of that applied on a native slider, which can be used as a test for the first purpose. Find it here.
The other purpose is a bit hidden in the text, under "Use case 3" section, where it explains the problem. It is implied that synthesized keyboard events are a solution for this although not explicit in the text:
However, there is no way for web authors to listen to accessible actions on custom elements. For example, the custom slider above with a role of slider prompts a suggestion on VoiceOver for iOS to perform swipe gestures to increment or decrement, but there is no way to handle that semantic event via any web API.
I've tested the Chromium proof-of-concept against this example of custom slider, and verified it fixes the problem.
Maybe the different purposes of these feature could be made more visible, or introduced at the same level in the text? Additionally, examples are always useful for testing, understanding, etc. I hope the ones mentioned here can be helpful.
The text was updated successfully, but these errors were encountered:
Regarding: https://github.com/WICG/aom/blob/gh-pages/explainer.md#user-action-events-from-assistive-technology
I've been working on the implementation of synthesized keyboard events for AT events in Chromium, building up from an existing proof of concept for increment/decrement: https://crrev.com/c/2264176
The first times I went through the document, it was a bit hard for me to understand the problem that these events were trying to solve, and the way to test our implementation.
I can find two main purposes for these synthetic events. On the one hand, this is explicitly mentioned:
It's not explained how this could be a privacy issue, but I understand it's because websites can detect AT actions finding out if there is an associated mouse or keyboard event. I've written an example of that applied on a native slider, which can be used as a test for the first purpose. Find it here.
The other purpose is a bit hidden in the text, under "Use case 3" section, where it explains the problem. It is implied that synthesized keyboard events are a solution for this although not explicit in the text:
I've tested the Chromium proof-of-concept against this example of custom slider, and verified it fixes the problem.
Maybe the different purposes of these feature could be made more visible, or introduced at the same level in the text? Additionally, examples are always useful for testing, understanding, etc. I hope the ones mentioned here can be helpful.
The text was updated successfully, but these errors were encountered: