Mysterious yellow rectangle

when I (accidentally) press option-grave (instead of command-grave) I get a yellow rectangle before the letter I’m on. What is this please?

That is an input method functionality to type accented letters. Type a vowel after it and it should give you a accented version of that vowel (if you have it in your font).