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

CSS generated content (css)

Screen reader support level: partial (36/45)

Voice Control support level: partial (7/16)

On this page

About this feature

CSS Generated Content is content that is added to the DOM via CSS such as ::before and ::after content.

Avoid using CSS generated content for meaningful textual additions.

Age of results

Results across all tests for this feature range from a year ago to 4 years 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 4 years ago. Consider running the associated tests and contributing results.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
MUST be included as part of the accessible namepartial (2/4)partial (2/4)supportedpartial (2/4)partial (3/4)partial (3/4)supportedsupportedsupportedsupportedsupported

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
MUST be included as part of the accessible namenonesupported with 1 unknown resultpartial (2/3)supportednone

Expectation: be included as part of the accessible name

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Related features

These are features that are usually used in combination with this feature.

CSS generated content - alternative text (css)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech Recognition
supported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultunknownsupported with 1 unknown resultsupported with 1 unknown resultunknownunknownunknownunknownsupported with 1 unknown result

We are missing data on some combinations.