We don't have holidays here, but employers are required to provide us with a certain amount of consecutive free hours (which specific number I can't remember) inside voting hours.

That’s fine, except for places in the US (particularly poor urban areas) where you have to wait in line for hours and hours to vote - it would need to accommodate for that

I don't think there is any federal law. Could be a law in your state.