Ticket #152 (closed defect: fixed)

Opened 3 months ago

Last modified 8 weeks ago

category cloud doesn't pass html verification

Reported by: bjb Owned by:
Priority: minor Milestone:
Component: blog Version:
Keywords: tag cloud; html verify Cc:

Description

eg: when I test my blog with:

    http://validator.w3.org/check?uri=http://linuxbutler.ca/bjb/

I get back one of these:

    Line 921, Column 8: there is no attribute "alt"

and a bunch of:

    Line 923, Column 13: document type does not allow element "a" here; missing one of "dt", "dd" start-tag

Likely because of this in the rendered tag cloud:

     <a href="/bjb/tag/android/"
     title="Click to filter by android"
>>   alt="count: 2"
     class="tag-1"
     rel="tag">android</a>

I don't think you can have an "alt" attribute in an "a"nchor tag.

Change History

Note: See TracTickets for help on using tickets.