Expected result:
The "Y" button puts your cursor directly into the recipe book.
Observed result:
The "Y" button puts your cursor into the inventory like the "X" button.
Side note:
I saw this issue which was already reported, but it hasn't been updated for a very long time.
Please do not create a new report just because an existing report hasn't been updated in a while. If you notice that the affected versions on a report haven't been updated in a while, you can leave a comment on the ticket instead saying "affects 1.x.x" or similar and a helper/moderator will update the affected versions.