Alternative Text in CSS Generated Content
Categories
(Core :: Layout: Generated Content, Lists, and Counters, enhancement)
Tracking
()
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
Comment 1•3 years ago
|
||
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.
Updated•3 years ago
|
Reporter | ||
Comment 2•3 years ago
|
||
Correction the correct Safari bug is https://bugs.webkit.org/show_bug.cgi?id=159022
Updated•2 years ago
|
Description
•