AIDS is diagnosed based on specific clinical criteria, including a marked decline in CD4 T-cell count and the presence of certain opportunistic infections or cancers. Standard tests for HIV infection include ELISA (enzyme-linked immunosorbent assay) and Western blot tests to confirm the presence of HIV antibodies.