Re: [csswg-drafts] [css-nav-1] Accessible keyboard control (#5683)

>  I'm fully supportive of browsers having a way for people to redefine the keys to something they prefer (w a s d for example), but these may required adding a modifier to not interfere with input inside the spatial navigation container.

[`window.navigate()`](https://www.w3.org/TR/css-nav-1/#dom-window-navigate)  in the spec provides to alter the keys for moving the focus.

When you use this, you can control the focus with `w` `a` `s` `d` keys.
You can check how it works here: https://wicg.github.io/spatial-navigation/demo/sample/api_navigate.html

> I would then recommend modifying the language in the specification to either point out this potential issue or recommend limiting the input types due to this issue.
Thank you for suggesting more detailed language in the specification.
I think putting this modification in the [`window.navigate()`] seems nice.

-- 
GitHub Notification of comment by jihyerish
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5683#issuecomment-719113614 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 30 October 2020 01:22:44 UTC