How can I redirect a task at work that I do not possess the skills to complete and cannot learn how to do in a timely manner? Sometimes I know it immediately, and sometimes it takes me a bit to find out. I usually say, "Hey, I don't think I'm going to be able to address this in a timely manner because it's not part of my wheelhouse. Could we delegate it to someone else on the team?" when I am working with a manager. Is this the right route?
Example scenario: I have been asked to address accessibility issues on a marketing website. This task requires an understanding of accessibility requirements, code overrides, and the website host (Framer) in general. I've already gotten two tasks totally wrong because despite my best efforts to learn as I go, I'm a visual designer, not a front-end developer!
I initially asked a developer colleague I don't know very well for guidance, but today I admitted to him that I am out of my depth and asked if he could please address the failed tickets instead of me so they're done correctly. I cannot tell if this is diva behavior. Is it okay to essentially say "I'm not the right person to do this," when asked to do something? Should I be trying harder?
I slept poorly last night because I hate inefficiency but dislike being viewed as incompetent even more.