There are multiple things taken in account for the steam deck compatibility.
One of the issues, can be the very small display. In some cases the game may display small text or require a mouse for some menus, and it will be partially compatible, but in other cases it may be unplayable, or only playable with a mouse.