[xwiki-devs] [VOTE] Introduce new "accessibility" CSS class for skins

Jerome Velociter jerome at xwiki.com
Thu Nov 12 16:29:33 UTC 2009

On 11/12/09 5:27 PM, Ecaterina Valica wrote:
> although we have a class called .hidden - it was until now used to hide:
> - accessibility elements, like action menu indicators
> - JS toggled elements
> We could have a separation for accessibility elements from the other
> layout/implementation hidden elements. This could be useful in case we want
> to transit some accessibility into the layout.
> or we could keep .hidden to do both.
> Jerome, .hidden did NOT disappeared from colibri.css.

My bad, the class I had in mind was .clearfloats, not .hidden

> On Thu, Nov 12, 2009 at 17:13, Vincent Massol<vincent at massol.net>  wrote:
>> Hi,
>> While working on WCAG we've found that we need to hide some content so
>> that it's not displayed visually but it's used by assistive devices
>> (such as a web browser reader).
>> For example for label texts in compact forms (where we put the label
>> inside the field -e.g. the search box).
>> Another example are "skip content" and "got to top" features.
>> Thus I'd like to propose adding a new public CSS class called
>> "accessibility":
>> .accessibility {
>>    display: none
>> }
>> We need a vote since it's public and would be used for example in the
>> form located in Main.Spaces. This means that all skins (ours or custom
>> skins done by users) must have it (or the label will be displayed).
>> WDYT?
>> Here's my +1
>> Thanks
>> -Vincent
>> PS: BTW this raises the question of public vs non public CSS classes.
>> Do we have a list somewhere? If not shouldn't we have one to let skin
>> authors know what class must absolutely exist and also to ensure we
>> don't use non public classes in document content or in templates (non
>> skin templates)?
>> _______________________________________________
>> devs mailing list
>> devs at xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs

More information about the devs mailing list