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

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

From: Ian Yang <ian.html@gmail.com>
Date: Wed, 18 Jan 2017 12:42:07 +0800
Message-ID: <CAFhBhuMZKa-scRkAV36nJAH-ABi563ipEAn_+1eOYoz6o+F-bA@mail.gmail.com>
To: CSS public list <www-style@w3.org>
Hi all,

Greetings. There is a styling approach which applies three centered star
icons to <hr> element as the the content of ::before pseudo element, as
used in the New HTML5.2 Wording Draft (visual example:
https://www.w3.org/TR/html52/infrastructure.html#infrastructure)

I had simplified the selector portion of the related CSS code for
demonstration purpose at here. Here is the simplified code:

``````
hr::before {

	content: "\2727\2003\2003\2727\2003\2003\2727";
}
``````

My question is: how are screen readers supposed to read such a <hr> element
and its generated content? Should they read that as "Thematic break, star
icon star icon star icon"?

Sincerely,
Ian Yang
Received on Wednesday, 18 January 2017 04:42:40 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:15:02 UTC