WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Interesting effect with CSS

for

From: Patrick H. Lauke
Date: Jan 8, 2012 6:36AM


On 08/01/2012 13:06, Leif Halvard Silli wrote:
> True. But I was justing trying to point out that the problem is not
> really that the CSS content:; property causes things to be read by
> screen readers. Rather the problem is that the content attribute, in
> this case, was applied to the wrong feature.

Ah, gotcha.

>> Heck, there's no way to specifically target "handheld" or "tv" - even
>> though media *types* for those actually do exist - they are simply
>> ignored by all user agents on those particular devices because,
>> historically, they have been used to send "lower quality / lowest common
>> denominator" type styles to old devices (exceptions here: Opera Mini
>> reacts to "handheld", but only if users have enabled the "single column
>> view" option,
>
> I almost always do use it in that mode ...

So *you're* that one user we get on our stats? ;)

Nah, makes sense on devices with small screens, no doubt.

> It is at least possible to limit certain styles to @media screen, in
> order to enhance content for the 'screen' media - whoever that consider
> themselves as such. Also @media print is known to work quite OK. That
> there are some failures, is not a reason for screen readers to not
> implement @media screenreader [yes, there is a proposal for such a
> media].

I think "screen" and "print" are the types that are most
prevalent/used/supported. The other ones withered away. Even with the
current big push for mobile, "handheld" is being ignored (because of its
historical use)...and as mobile is one of THE biggest drivers at the
moment, I take that as evidence that the model of media types is being
abandoned (for that particular "devices identifying themselves of a
particular type from the restricted pool of available choices" way of
thinking). If "handheld" isn't being pushed despite the big push for
mobile, then I have little hope that "screenreader" or similar will make
the cut.

P
--
Patrick H. Lauke