Dividends and capital gains distributions are included in the return calculation whenever available. For accounts with cash inflows/outflows, the returns are linked for each period between cash flows (time-weighted rate of return.)

The Distribution Rate is calculated as the sum of the 12 trailing months distributions (excluding capital gains) divided by the most recent asset value.

You can see more detail on how returns are calculated here.