We are in a time of flux. We have some conflicting standards in accessibility and citations. The following meets all requirements for accessible links, and DOI reference (which was a link in the past, but does not have to be anymore):

Example:

APA format:

Author name, Initials. (Year). Paper title. Journal NameVolume(Issue), page range. DOI.

Rahal, D., Shaw, S. T., Tucker, M. C., & Stigler, J. W. (In Press). Status in a psychological statistics class: The role of academic and status-based identities in college students’ subjective social statusSocial Psychology of Education. DOI: 10.1007/s11218-024-09885-4 

If there’s no DOI, then you can write out the URL:

Google. 2023. “Privacy Policy.” Privacy & Terms. Effective November 15. https://policies.google.com/privacy.

Notice how the DOI for your citation comes from the link:

The URL: https://www.doi.org/10.1007/s11218-024-09885-4 

Will be: DOI: 10.1007/s11218-024-09885-4