Doesn't seem to be the case. Average starting electrical work salary is right around on par for average starting web developer salary in my area (45k-50k for both)
https://money.usnews.com/careers/best-jobs/electrician/salar...
Also, at least according to this union, you can make 10 more dollars an hour being in the union http://www.ibew.org