Links that are built with anchor elements (
<a>) are not accessible without an
href value. The
href value determines what page or content a user will be directed to once the link is activated. If the
href value is left blank, then the link may appear to be broken to users and may also cause confusing screen reader announcements.
If you are using a link/anchor element and do not have an applicable
href value, then a different native html element, such as a
<button>, may be more appropriate.
For more details and examples about accessible links, explore the Landmarks, Links, and Headings course in the Accessible Web Academy.