Gluing the cover of an Apple wireless keyboard
It's not going to work, unfortunately.

I've attempted a very similar repair which only ended in failure (and despair).  The problem is the plastic and why the tabs broke in the first place - they've become brittle with age.

So with some patience you can get the tabs back on, but they will break off again, unfortunately.