- From: <Frederick.Hirsch@nokia.com>
- Date: Fri, 12 Apr 2013 20:42:36 +0000
- To: <spec-prod@w3.org>
- CC: <Frederick.Hirsch@nokia.com>
- Message-ID: <1CB2E0B458B211478C85E11A404A2B2701A30065@008-AM1MPN1-034.mgdnok.nokia.com>
In using div or p with class note I observe that respec output is not valid. I'm not sure why that output is being created in the first place, but maybe there is a reason.
if in ReSpec source I create a note thus (Overview.src.html):
<p class="note">
The IETF PKIX WG "ESSCertIDv2 update for RFC 3161"
should be consulted when referencing
RFC 3161 [[RFC3161-PKIX-UPDATE-9]].
</p>
in the output (Overview.html) I get something like this
<div class="note"><div class="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">
The IETF PKIX WG "ESSCertIDv2 update for RFC 3161"
should be consulted when referencing
RFC 3161 [<cite><a class="bibref" href="#bib-RFC3161-PKIX-UPDATE-9">RFC3161-PKIX-UPDATE-9</a></cite>].
</p></div>
This causes a validation error
Validation Output: 1 Error
•
[cid:743af67c-1ee1-45bf-9753-e392861d2461@mgd.nokia.com]
Line 1572, Column 82: Bad value heading for attribute role on element div.
…="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">
Wouldn't it be better just to not create all the extra stuff *and just keep it
<div class="note">
content
</div>
I did not notice this behavior earlier so maybe this is the result of a recent change?
* extra stuff: <div class="note-title" role="heading" aria-level="5"><span>Note</span></div><p class="">
thanks
regards, Frederick
Frederick Hirsch
Nokia
Attachments
- image/png attachment: error.png
Received on Friday, 12 April 2013 20:43:07 UTC