Opened 11 years ago
Closed 11 years ago
#1072 closed defect (fixed)
[spiffy] [PATCH] Improve HTML in the simple-directory-handler
Reported by: | RvdH | Owned by: | sjamaan |
---|---|---|---|
Priority: | major | Milestone: | someday |
Component: | unknown | Version: | 4.8.x |
Keywords: | html directory-handler simple-directory-handler | Cc: | |
Estimated difficulty: |
Description
I know the simple-directory-handler is made to be simple. Still, this patch improves the HTML of the simple-directory-handler in the following ways:
- Adds the obligatory "xmlns" and "xml:lang" attributes to the html element.
- Changes the h2 element into an h1 element. Using a h2 element here is syntactically correct, but semantically it is not. The first header element in a document should be the h1 element. If the header is considered too large, change the styling, not the element itself.
- Adds table headers to the columns.
Attachments (1)
Change History (2)
Changed 11 years ago by
Attachment: | valid-html-simple-directory-handler-rvdh.patch added |
---|
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks, this is definitely an improvement which fits within the scope of simple-directory-handler. I've applied the patch.