Don't treat SPACE as the start of a keyboard search.
Add KeyNavContainer robot test.
Fixes #17766.
(cherry picked from commit d641c3fc801a582e7517d9a478152e54f331f52b)