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

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