w3c / at-driver

AT Driver defines a protocol for introspection and remote control of assistive technology software, using a bidirectional communication channel.
https://w3c.github.io/at-driver
Other
31 stars 4 forks source link

Nit: WebDriver has a way to press keyboard keys for the whole page #5

Closed WestonThayer closed 2 years ago

WestonThayer commented 2 years ago

https://github.com/bocoup/aria-at-automation#press-keyboard-keys

The second detail is conceptual: keys pressed by a screen reader users are not necessarily directed at any particular element, so the WebDriver command's required element reference would be superfluous in many cases.

Just a small nit, the Perform Actions command can be used to generically inject input to the page that's not targeted at a specific element. I sometimes use this for testing keyboard accessibility. Not that it changes your conclusion.

jugglinmike commented 2 years ago

Thanks for pointing this out! I've opened gh-7 to remove that claim.