If I'm interpreting your question correctly, then yes, the probability of actually having HIV given that you have a getting a positive ELISA test for HIV is dependent on the incidence rate of HIV within the population.
This happens because of false negatives and false positives. No test is perfect, and sometimes it will say you are negative when you are in fact positive, while other times it will say you are positive when you are in fact negative.
If the Elisa Test shows up positive, there are two ways for that to happen - either you are positive (probability $p$) and the test is accurate (probability $.977$ in your example), or you are negative (probability $1-p$) and the test gives a false positive (probability $1-.926=.074$ in your example).
So $P(\text{positive ELISA}) = .977p + .074(1-p)$.
If $p$ is really small, then it's much more likely that you got a false positive (assuming you were randomly selected for the test). As $p$ gets larger, then it becomes more likely that you do have the disease and the test result is accurate.
Here's a thought experiment to help you understand. Take 100 slips of paper and mark an $x$ on one of them to indicate a person with a disease. Get a coin to simulate a test with a 50% accuracy rate (50% of the time it will show heads, indicating presence of disease, 50% of the time it will show tails, indicating no disease). Now, randomly select one of the slips of paper and flip the coin. If a heads comes up, what is more likely - that I picked the one paper with $x$ on it and the test was accurate or I picked one of the 99 papers without an $x$ and the test was inaccurate?
Do the same but with 99 papers with $x$ on them and 1 without.
As a side note, this is part of why doctors generally don't just indiscriminately have their patients take HIV tests (or tests for other rare diseases). It is much more likely that a random patient would not have the disease and get a false positive than have the disease and get a true positive. Doctors first identify a patient as "high risk" and therefore much more likely to have the disease in question, and THEN they have them take the test.