Notice: This is a work in progress. Please submit feedback or suggestions.

hyperlink element (html)

Screen reader support level: partial (146/150)

Voice Control support level: partial (44/45)

On this page

If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
MUST convey an appropriate rolesupportedsupportedsupportedpartial (4/5)supportedsupportedsupported
MUST convey an appropriate namesupportedsupportedsupportedpartial (4/5)supportedsupportedsupported
MUST convey the boundaries of the elementsupportedpartial (4/5)supportedpartial (4/5)supportedsupportedsupported
SHOULD provide shortcuts to jump to this rolesupportedsupportedsupportedpartial (4/5)supportedsupportedsupported
MAY convey the visited statepartialnonesupportedsupportednonesupportedsupported

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
MUST convey an appropriate rolesupportedsupportednot applicablesupportedsupported
MUST convey an appropriate namesupportedsupportedsupportedsupportedpartial (4/5)

Expectation: convey an appropriate role

Rationale: A screen reader user needs to know how they can interact with the element. Voice control software might use the role to help users activate controls that do not have a visible name.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Expectation: convey an appropriate name

Rationale: A screen reader user needs to know what to enter.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Expectation: provide shortcuts to jump to this role

Rationale: Screen reader users might want to quickly navigate to elements of this type.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: SHOULD
  • Voice Control: NA

Expectation: convey the visited state

Rationale: A user might want to know that they have already visted the link

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MAY
  • Voice Control: NA
Screen Reader support for 'MAY convey the visited state'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML links example 4 - A visited linkpartialpartialpartialnonesupportedsupportedsupportednonesupportedsupported