W3C

Edit comment LC-2009 for Mobile Web Best Practices Working Group

Quick access to

Previous: LC-2010 Next: LC-2011

Comment LC-2009
:
Commenter: JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>

or
Resolution status:

4.2.3.2

" In HTML content it should indicate the medium for which the representation is intended by including a link element identifying in its media attribute the target presentation media types of this representation and setting the href attribute to a valid local reference (i.e. use the fragment identifier (see [RFC 3986]<http://www.w3.org/TR/2008/WD-ct-guidelines-20080801/#ref-rfc-3986> section 3.5<http://www.tools.ietf.org/html/rfc3986.html#section-3.5>) added to the URI of the document being served to point to a valid target within the document)."

Why it has to be a fragment identifier within the page? If you do so, strictly speaking you are saying that an specific fragment of the current page is an alternative representation for the media handheld for the current page. That's not true, as the whole page is such representation.

Proposed Amendment:


As per RFC 3986 section 4.4 [Amended: was RFC 1808 initially] an empty relative URI href="" resolves to complete base URL, so it is suggested to use this mechanism to point to the current resource

<link rel="alternate" media="handheld" type="text/html" href="" />

(another option is to suggest the usage of the URI that points to the current resource. )

Best Regards
(space separated ids)
(Please make sure the resolution is adapted for public consumption)


Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: 2009.html,v 1.1 2017/08/11 06:43:14 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org