Please navigate to the first link and then to the next. The second is skipped, the focus moves to the last link: foo

Have a look at the the dummy file.

Have a look at the process form dummy file.