Intent to Implement: Alternative Text in CSS Generated Content
96 views
Skip to first unread message
Meredith Lane
unread,
Mar 12, 2019, 2:41:40 PM3/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to blin...@chromium.org
mere...@chromium.org,abox...@chromium.orghttps://gist.github.com/alice/756caca028b2dae610e4ed5184c2f93e
Specification: https://drafts.csswg.org/css-content/#altIn progresshttps://drafts.csswg.org/css-content/#alt
This change allows for alternative text to be supplied for the content supplied using the CSS content property, to be used for non-visual mediums.
The content property can be used to provide semantically important information to the user. Alternative text is used by assistive technologies to communicate the contents/caption of DOM content. This change would allow alternative text to be provided through CSS purely, making it available on pseudo elements like ::before and ::after, which are otherwise ignored for accessibility. It also allows for purely decorative elements to be explicitly labelled as such (by providing an empty string after the slash), and therefore still ignored for accessibility.
Can use DevTools Style and Accessibility Panels, chrome://accessibility > Show accessibility tree
Yes
No
Can’t be tested in WPT yet because WPT tests lack a mechanism to assert things about the accessibility tree, for now.
https://www.chromestatus.com/features/4550056227110912
Rune Lillesveen
unread,
Mar 14, 2019, 10:44:31 AM3/14/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Meredith Lane, blink-dev
On Tue, Mar 12, 2019 at 7:41 PM 'Meredith Lane' via blink-dev <blin...@chromium.org> wrote: