I used this guide to replace the keyboard on my macbook air 11, mid 2011.
When I removed the perimeter screws on the keyboard, I then popped all of the 54 or so rivots. I bought a $34 keyboard and installed it with the perimeter screws. But then I bonded the top of each of the rivot shafts with a tiny amount of epoxy cement, after which I used a razor blade to shave each of them to be flush. After re-installing the backlight material, and reassembling the computer, it works PERFECTLY. The Apple store expert had told us that the computer could not be repaired. :-)