Re: HTML5.1 refactor and cleanup

2013-11-25 12:15, Robin Berjon wrote:
> On 24/11/2013 19:16 , Jirka Kosek wrote:
>> While scrolling down to conformance section I have noticed strange image
>> in 2.2.1
>> (http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#conformance-requirements 
>>
>> ) created by the following code:
>>
>> <span class="fingerprint" data-x="fingerprinting vector">
>> <img alt="(This is a fingerprinting vector.)" height="64"
>> src="images/fingerprint.png" width="46"/>
>> </span>
>>
>> I have completely no clue why this is here.
>
> The key for that image is here:
>
> http://www.w3.org/html/wg/drafts/html/master/introduction.html#used-to-fingerprint-the-user 
>
>
> I agree that it is both ugly, unreadable, and nigh impossible to 
> figure out as it stands. One step forward would be to at least link it 
> correctly to its dfn. But it would also be made clearer — suggestions 
> in this area are welcome.
>

The alt attribute is incorrect (according to HTML5 rules): it is not an 
appropriate replacement for the image. Instead, use e.g,

alt="This feature can be used to fingerprint the user."

The question arises what is “this feature”, but the same applies to the 
image.

Since the element is apparently meant to say something that is 
considered as being of great importance, consider wrapping the <img> 
element in a <strong> element.

The current alt attribute value could be used as a title attribute 
value, but I doubt whether it would be useful in any way.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

Received on Monday, 25 November 2013 11:08:20 UTC