Setting "Tab" as the "Open/Close Inventory" key works to open the inventory but doesn't work to close the inventory; all other keybinds are default except for "List Players" which is set to "p" to not interfere with "Open/Close Inventory". Instead of closing the inventory, pressing Tab highlights the recipe book button.
Environment
Windows 10 Home, Version 1809, OS build 17763.437
Java 8, Update 201
Duplicate of MC-145691. Please use the search function before reporting.