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

Re: How are screen readers supposed to read <hr> which has icons as generated contents?

From: Ian Yang <ian.html@gmail.com>
Date: Sat, 21 Jan 2017 23:27:09 +0800
Message-ID: <CAFhBhuPWcJEEzrQkscoSX9h8zwL4kdJY77L3zoO=LQ+e1cMaQg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>, CSS public list <www-style@w3.org>
2017-01-20 15:09 GMT+08:00 fantasai <fantasai.lists@inkedblade.net

> Hm, good point. This should be preceded by @media not speech.
>
> ~fantasai
>

Thank you for the tip. Yet having to write @media not speech { } to wrap
every visual-only CSS declaration seems cumbersome to me. It would be more
convenient if we have a CSS declaration like HTML attribute
aria-hidden="true" so that we can simply write the aforementioned CSS rule
as:

``````
hr::before {

	content: "\2727\2003\2003\2727\2003\2003\2727";
	aria-hidden: true;
}

``````

Ian Yang
Received on Saturday, 21 January 2017 15:27:41 UTC

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