Chosen Solution

The replacement battery for iPhone 8 came with a blue plastic film the size of the phone. It has a black border and looks like it might belong in the phone. No repair guides mention it and they do not cover reassembly. What is it for?

If we review the battery replacement kit iPhone 8 Battery iFixit sells we see this listed

You need to replace the seal when you put the display back on.