WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: display: table - should we use it?

for

From: Birkir R. Gunnarsson
Date: May 23, 2014 6:04AM


Yes, this content is invisible to e.g. screen readers,.
See Karl Groves article on this at:
http://www.karlgroves.com/2013/08/26/css-generated-content-is-not-content/

I see this problem a lot with images included as CSS background.
Well intentioned authors include an alt tag on these images to make
them accessible.
But the screen reader does not know the images are there to begin
with, so the alt text is ignored.


On 5/23/14, Olaf Drümmer < <EMAIL REMOVED> > wrote:
> On 23 May 2014, at 13:51, Birkir R. Gunnarsson < <EMAIL REMOVED> >
> wrote:
>
>> CSS should not be treated as content
>
> so this would imply 'content' inside ::before and ::after selectors? Like
> for example:
>
>> p::before
>> {
>> content:"Read this: ";
>> }
>
>
> Olaf
>
>
>
> > > >


--
Work hard. Have fun. Make history.