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

placeholder link element (html)

Screen reader support level: partial (77/90)

Voice Control support level: partial (18/27)

On this page

About this feature

If the a element has no href attribute, then the element represents a placeholder for where a link might otherwise have been placed, if it had been relevant, consisting of just the element's contents.

Age of results

Results across all tests for this feature range from 5 months ago to 8 months ago. Detailed dates and version information can be found in associated tests.

Failing and partial results are between 8 months ago and 8 months ago.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
MUST NOT convey the link role; OR MUST convey as a placeholder linksupportedsupportedsupportednonesupportedsupportedsupportedsupportedsupportedpartial (2/3)
MUST convey an appropriate namesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST NOT provide shortcuts to jump to this rolepartialpartialpartialsupportedsupportedsupportedsupportedsupportedsupportedsupported

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
MUST NOT convey the link role; OR MUST convey as a placeholder linknonesupportednot applicablesupportednone
MUST convey an appropriate namesupportedsupportedsupportedsupportednone

Expectation: convey the link role; OR MUST convey as a placeholder link

Rationale: Since the link does not go anywhere, user needs to know that the link is not functional.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST NOT
  • Voice Control: MUST NOT

Examples of assistive technologies support this expectation:

  • A screen reader might convey not convey any role for the link.
  • Voice control software will not suggest that the link is actionable.
Voice Control support for 'MUST NOT convey the link role; OR MUST convey as a placeholder link'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
HTML links example 6 - A placeholder link by itselfnonesupportednot applicablesupportednone
HTML links example 7 - A placeholder link in a paragraphnonesupportednot applicablesupportednone
HTML links example 8 - A placeholder link that wraps many elementsnonesupportednot applicablesupportednone

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

Examples of assistive technologies support this expectation:

  • A screen reader will convey the text of the placeholder link
  • Voice control software might still recognize the name. This is helpful in cases where developers did not use semantic markup.
Voice Control support for 'MUST convey an appropriate name'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
HTML links example 6 - A placeholder link by itselfsupportedsupportedsupportedsupportednone
HTML links example 7 - A placeholder link in a paragraphsupportedsupportedsupportedsupportednone
HTML links example 8 - A placeholder link that wraps many elementssupportedsupportedsupportedsupportednone

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: MUST NOT
  • Voice Control: NA