W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

[bug] Amaya does not catch invalid label

From: <ve3ll@cogeco.ca>
Date: Sat, 16 Dec 2006 15:38:19 +0000
To: www-amaya@w3.org
Message-ID: <4583CC85.22611.BE97522@ve3ll.cogeco.ca>

Label nesting in html is opposite to that of XForms
but Amaya doesn't trap the error when label is
nested INSIDE a control which it should....

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>Label Nesting:VE3LL2COGECO.CA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head><body><h1>Label Nesting:VE3LL2COGECO.CA</h1>
<p>HTML4 states that for nesting, the control must be inside the label.
This is backwards to XForms of course. Amaya allows nesting either
way although it should trap the XForms way</p>
<label>HTML way:<input name="xx" type="text"/></label>
<input name="yy" type="text"><label>XForms way:</label></input>
John Russell, VE3LL@COGECO.CA
Received on Monday, 18 December 2006 10:22:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC