Hello there,
since the newest update and the ability to toggle off crossplay (kinda) Xbox players, who use a controller for gameplay, can't use a keyboard for communication anymore.
Now I don't know if this is intended or not. The point of the new setting is to be matched with other players using the same peripheral equipment, but in my opinion the game should let you choose if you want to use the keyboard for gameplay, for text messages or for both.
Communication is still important in the game and using your keyboard to quickly type messages is easier than using the pirate chat wheel and/or emotes to get your point across.