pH stands for potential hydrogen.
pH can be accurately tested using acid-based indicators since it is a part of the pH of something itself. (acid and bases) The indicators themselves work when the acidic properties of the indicator begins to dissolve and form ions which gives the color indicating the pH.