People with diabetes are entitled to free NHS sight tests.