Bringing up Apple Diagnostics with keyboard shortcut
I am having a lot of problems with my imac 2017. I am using Ventura 13.6.7 and I have followed all the instructions below and still can't boot it up in Apple Diagnostics. I have already run disk utility at all levels and everything is fine. I have tried booting up holding down the D key only and the option-D key plus all the advice about plugging in the keyboard etc. I am trying to hold off buying a new desktop until Apple releases a new model. I appreciate any advice.
iMac 27″ 5K, macOS 13.6