You don't need to rewrite the UI to fix this issue. In the "Controls" dialog, on the "Open/Close Inventory" line, (and possibly in others) add a warning icon (⚠️) when it is set to "TAB" (or some other key that interferes with accessibility like ESC, Enter, etc.) and add a (accessible!) note to the setting that states that this setting might interfere with accessibility. Then, if the user still agrees to go ahead and clicks done, make sure that it takes precedence to accessibility and closes the inventory.
Ok, let me add a suggestion to the ticket.
You don't need to rewrite the UI to fix this issue. In the "Controls" dialog, on the "Open/Close Inventory" line, (and possibly in others) add a warning icon (⚠️) when it is set to "TAB" (or some other key that interferes with accessibility like ESC, Enter, etc.) and add a (accessible!) note to the setting that states that this setting might interfere with accessibility. Then, if the user still agrees to go ahead and clicks done, make sure that it takes precedence to accessibility and closes the inventory.
I'm still playing 1.13 because of this issue.