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 a year ago to a year ago. Detailed dates and version information can be found in associated tests.

Caution

Failing or partial results may be out of date. The oldest result is from a year ago. Consider running the associated tests and contributing results.

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 its 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 its 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 this expectation for different types of assistive technologies:

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

Examples:

  • 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 its name

Rationale:

A screen reader user needs to know what to enter.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Examples:

  • 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.

Expectation: provide shortcuts to jump to this role

Rationale:

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

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST NOT
  • Voice Control: NA