Example Tables Using the caption element

With visible caption (NVDA counts number of rows correctly

Names
First Name Last Name
John Smith
Julia Gulia
Peter Brown

With hidden, absolutely positioned caption (NVDA counts an extra row)

Names
First Name Last Name
John Smith
Julia Gulia
Peter Brown