Ok, I got it all wrong. Sorry for that.

And this locator is kind of fragile too, because it depends on text node which will be different in another language than English. The best thing we can do is to force developers to create some solid locators for those elements like className or ID. But if only english version in on focus, then we can leave it as it is now.