Ensure caption is used when child is set to required (#12077)

Change-Id: Id4a9674c1b2e1c41dbba1f6fde11502400591a52