Walker signed the bill privately on Tuesday.
The push to pass such laws is gaining momentum nationally as employers ask for workers' user names and passwords for their personal accounts. Some employers say they need such access to protect proprietary information or trade secrets. Others contend it's an invasion of privacy.
The measure found broad bipartisan support in the Wisconsin Legislature.