W3C home > Mailing lists > Public > www-style@w3.org > April 2017

RE: CSS property for visually hiding an element

From: Nicolás J. Engler <nicojengler@gmail.com>
Date: Mon, 3 Apr 2017 13:44:49 -0300
Message-ID: <58e27c00.8b61370a.8848a.8b80@mx.google.com>
To: Una Kravets <una.kravets@gmail.com>, Oliver Joseph Ash <oliverjash@gmail.com>
Cc: Brian Kardell <bkardell@gmail.com>, Philip Taylor <p.taylor@rhul.ac.uk>, "www-style@w3.org" <www-style@w3.org>
Following something along the lines of `display: contents` can be a good start.
- https://developer.mozilla.org/en-US/docs/Web/CSS/display
- https://rachelandrew.co.uk/archives/2016/01/29/vanishing-boxes-with-display-contents/ 

De: Una Kravets
Enviado: lunes, 3 de abril de 2017 13:36
Para: Oliver Joseph Ash
CC: Brian Kardell; Philip Taylor; www-style@w3.org
Asunto: Re: CSS property for visually hiding an element



visibility: hidden also hides it from the accessibility tree. Undoing that now would almost certainly cause more harm than good - as far as I can see, it would require a new property.


I think a display property is what you’re thinking of (akin to `display: none`, but `display: screen-reader-only`)
Received on Monday, 3 April 2017 16:46:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:07 UTC