I'm a web developer with an incurable neuro-visual disorder, which I soon discovered prevented me from doing UI stuff competently so I got into backend early on. No need to leave web development altogether if you don't want to, there's room to change your focus away from the UI side of things.
Most of my current role is writing server-side software for web applications as well as dealing with some of the operational and database side of things too (small company; many hats!). I can't imagine the motivations for getting into UI stuff are exactly the same as getting into server-side stuff but personally I really like what I do.