How does Google Voice access the microphone on the iOS through the browser?
It doesn't access the phone hardware directly. Instead, you enter the number and Google's servers call the number entered and simultaneously calls your iPhone on it's number. 

Merging those two calls happens in google's servers, putting both you and your recipient in communication through their hardware.