Control and Shift are control strings and should be highlighted as such. Even if they are hardcoded.
Previously reported on Crowdin.
Additional Information:[1.1.30] Locomotive UI text highlighting inconsistent
Re: [1.1.30] Locomotive UI text highlighting inconsistent
Thank you for the report, this was also noticed internally and is already fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.