Important: This website does not attempt to establish a standard for how assistive technologies must behave. Read the FAQ for more information. Additionally, this is a work in progress. Please submit feedback or suggestions.

CSS generated content (css)

Screen Reader support level: partial (36/44)

Voice Control support level: partial (8/26)

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 3 years ago to 6 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 5 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 RecognitionWindows Voice Access
ChromeChromeSafariSafariEdgeChromeEdgeChrome
MUST be included as part of the accessible namenonesupported with 1 unknown resultpartial (2/3)supportedsupported with 2 unknown resultsnoneunknownunknown

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 RecognitionWindows Voice AccessWindowsMaciOSAndroid Keyboard
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 2 unknown resultsunknownunknownunknownunknownunknown

We are missing data on some combinations.