Add test for keyboard navigation affinitic refs #5727 5728