W3C

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

Quick access to

Previous: LC-1722 Next: LC-1716

Comment LC-1740
:
Commenter: Shadi Abou-Zahra <shadi@w3.org>

or
Resolution status:

COMMENT A.5: - ERT WG COMMENT: Section "3.15 OBJECTS_OR_SCRIPT" "If the value of the href attribute begins with the "javascript:" scheme, FAIL" At least, href attributes with "#" (or any number of '#') value should also fail as it's a widely used value. A wider definition which discourages any misuse of href values in general would be desirable. - BPWG RESOLUTION: We think that there are valid uses for allowing # as the href, such as a link to the top of the page. - ERT WG RESPONSE: Although being a valid URI, the behaviour of href="#" is not defined. Several user agents have the behaviour describe above, but we think this shouldn't be considered a good practice and the linking to the top of a page should be done using a real (not empty) anchor (fragment ID).
(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: 1740.html,v 1.1 2017/08/11 06:43:42 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org