RE: Pending review on two CSS issues

We need a suitable alt property for .background images more than anything.
There is a trend of .background images being used for icons (such as "opens
in a new window" "document" "secure content" etc.).
We have had to device workarounds through hidden link text or title
attributes, which is less than desireable.
I admit to not having read the references you gave, I am very busy with
meeting today, but wanted to express a serious concern if alt text solutions
are restricted to .before and .after and do not include .background
Thanks


-----Original Message-----
From: James Craig [mailto:jcraig@apple.com] 
Sent: Wednesday, August 6, 2014 1:26 PM
To: W3C WAI Protocols & Formats
Subject: Pending review on two CSS issues

I believe these two PF/CSS issues can be closed. If you disagree, please
respond before the next PF call on the morning of Wednesday August 13th.
Thanks.


> ACTION-931: Drive working with CSS on how various mouse cursor options
should be chosen

> https://www.w3.org/WAI/PF/Group/track/actions/931


I think this works well as-is. The CSS cursor property defines types and the
large mouse cursors work well on OS X for standard and HiDPI displays. If
there is a problem with a particular property or system, we'll need a more
specific action.


> ACTION-932: Explore CSS generated content more
> https://www.w3.org/WAI/PF/Group/track/actions/932

This will be addressed in the CSS4 Generated Content module as a new
"alt"property. Like the "content" property, it is limited to CSS-generated
content, so only allowed on ::before/::after pseudo-elements, counters, etc.
http://lists.w3.org/Archives/Public/www-style/2012Nov/0319.html

WebKit nightlies and OSX/iOS betas support -webkit-alt in the meantime.
https://bugs.webkit.org/show_bug.cgi?id=120188

For example:

link.new::after {
 content: url(./img/star.png);
 alt: "New!" /* or localized value as attr(data-foo); */
 -webkit-alt: "New!";
}

Received on Wednesday, 6 August 2014 17:52:37 UTC