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

CSS generated content (css)

Screen reader support level: partial (41/53)

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

Failing and partial results are between 3 years ago and 3 years ago.

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 (4/8)supportedpartial (2/4)partial (3/4)partial (6/8)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.