suggestion of new element and attribute `greyarea`

There are different types of resources in internet, from article to video.
Normally, when we publish a resource, we suppose it is public in some area
(world wide or your friend circle in Facebook) and useful to others.

But whether the resource is harmful or harmless is actually determined by
the guy who received the resource. For example:

The photo of Death of Alan Kurdi (
https://en.wikipedia.org/wiki/Death_of_Alan_Kurdi )

Someone may feel they are touched; and others may feel un-comfortable — and
hard to explain to their children. Those are the informations been pushed
to the readers without considering you like it or not.

There should be a new element/attribute `greyarea` in html5 (or any other
representation) for this target. It should work like this:

1. For pieces of text:

…other text...<greyarea title=“these text you may/may not want to
read…”>unknown TEXT</greyarea>…other text...

Can be viewed as:

…other text...*these text you may/may not want to read…*…other text...

The italic text here may actually be highlighted in real. If the guy
exactly wants to read it, he clicks the highlighted text, then the text
will be extended to full paragraph.
If omit the title attribute here, the text should default to use mosaic (if
we have mosaic character in unicode) with some length.


2. For block of text or multi-media:

…other elements…<div … greyarea=“…the title…”>unknown TEXT</div>…other
elements...

OR

…other elements…<img … greyarea=“…the title…” />…other elements...


Block of texts have the same effects as in previous description;

Multi-media element may show a mosaic image with the text set in greyarea.
If omit the value, it just shows the mosaic image. (The algorithm of mosaic
can be defined by the application you are using)


3. Hierarchical structure

If a greyarea block includes other greyarea (whether it is another greyarea
block or attribute in some elements), for simple usage, when click the
parent greyarea block, sub-greyarea blocks should also be extended.

Original Posted:
https://www.linkedin.com/pulse/html5-suggestion-new-element-attribute-greyarea-yarco-wang

Received on Wednesday, 21 October 2015 01:01:46 UTC