Skip to content

[css-content] ::marker content available for assistive technology #11003

Open

Description

@wortwart

According to CSS Generated Content Module Level 3, §1.1, "Generated content should be (...) available to assistive technologies. The content property applies to speech and generated content must be rendered for speech output."

This is already the state of things for the most common usage of content within ::before and ::after pseudo elements. But for other use cases this makes less sense and might lead to unnecessary screenreader noise. For example, a ::marker's content will replace the native list marker which is purely presentational. Screenreaders currently don't read ::marker content which seems the right thing to do.

Activity

  1. added
    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.
    on Oct 7, 2024
  2. JAWS-test commented on Oct 8, 2024

    @JAWS-test

    native list marker which is purely presentational. Screenreaders currently don't read ::marker content which seems the right thing to do.

    In my opinion, this is not correct, see

  3. Loirooriol commented on Oct 12, 2024

    @Loirooriol
    Contributor

    Screenreaders currently don't read ::marker content

    They don't? But I'm pretty sure the ::marker content is what gets exposed in the accessibility tree, both on Blink and Gecko.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11y-trackerGroup bringing to attention of a11y, or tracked by the a11y Group but not needing response.css-content-3css-lists-3Current Workcss-pseudo-4Current Work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions