Closed Bug 1818232 Opened 3 years ago Closed 2 years ago

Alternative Text in CSS Generated Content

Categories

(Core :: Layout: Generated Content, Lists, and Counters, enhancement)

Firefox 112
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1281158

People

(Reporter: hello, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.0.0

Steps to reproduce:

I'd like to use unicode characters in the content of pseudo element in an accessible way as documented in https://blog.mayank.co/using-text-symbols-in-pseudo-elements-accessibly?ref=css-layout-news

Actual results:

This currently works in chromium-based browsers:
https://caniuse.com/mdn-css_properties_content_alt_text
https://chromestatus.com/feature/4550056227110912

Safari is also tracking this issue under https://bugs.webkit.org/show_bug.cgi?id=120188

Expected results:

Support Alternative Text in CSS Generated Content as specified in the following draft: https://drafts.csswg.org/css-content/#alt

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core
Component: Layout: Text and Fonts → Layout: Generated Content, Lists, and Counters

Correction the correct Safari bug is https://bugs.webkit.org/show_bug.cgi?id=159022

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1281158
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.