Re: CSS issue: Need fallback alternatives for CSS generated *text* content containing unicode glyphs

On Nov 15, 2012, at 3:25 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

>> 1. Should the 'alt' property only apply when content has been replaced, or would it apply at all times?
>>        .foo:before { alt: "This text only available to assistive technology?"; }  /*e.g., no visibly rendered content for the pseudo-element. */
> 
> If 'content' isn't set to a non-"none" value, the pseudo-element isn't
> generated at all, so no.

Okay.

>> 2. Would you also expect this to override content of native DOM elements, rather than just pseudo-elements?
>>        <foo style="alt:'baz';">bar</foo> <!-- Potentially confusing to authors. I'm not sure it'd be a good idea on actual elements. -->
> 
> No, just pseudo-elements.  Specifically, just ::before and ::after for now.

I concur.

>> PS. How should I track this request? File a bug? WG Issue?
> 
> We track these things through WG email, so you're already covered.

Great. Thanks. 

James

PS. I don't actively follow www-style anymore, so please let me know if you'd like any more feedback on the idea as it progresses.

Received on Thursday, 15 November 2012 23:35:26 UTC