On Nov 30, 2009, at 6:01 PM, Ecaterina Valica wrote:
Hi,
One of the WCAG requirements is to have all our CSS Level 2.1 valid. I saw we have exceptions on the elements we cover in our validation and I would like to know your opinion about: *opacity* CSS propriety.
*Opacity* is a CSS 3 valid property, but not a CSS 2.1.
The main components (that I know) that can be affected by not having * opacity* are: modalPopup.css (for Ctrl+G "Go To" feature) and lightbox.css (for the boxes in Administation: Users, Groups). Without *opacity* they look disconnected from XWiki.
*Opacity* used to be used in Panel Wizard, but got removed because of the WCAG and because it didn't changed much on an aspect level. It can be used in lots of places like tooltips, use to be in WYSIWYG disabled buttons etc.
The main problem about *opacity* is that if we are gonna make it an exception, because of IE6, we are gonna need to make other proprieties exceptions (*filter, zoom*). IE’s CSS uses *filter* instead of *opacity* and also needs (for some elements) *zoom* propriety in order to apply it correctly.
I need to know your opinion in order to complete our CSS files validation.
I agree with what Sergiu has proposed in the past: - Allow using CSS 3 properties whenever they are used for visual improvements only and provided the degraded mode works fine. The only downside is that it's hard to test automatically but maybe we can make it testable somehow by moving CSS 3 properties in some other CSS file for example. Thanks -Vincent