Forum Moderators: open

Message Too Old, No Replies

Validation Compromise

         

keyplyr

8:20 am on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm proud that I've brought my 200 static plus 30 dynamic page site to validate by W3C specifications using a full DTD for HTML 4.01 Transitional - all except one HTML page with 191 errors, all of them for missing ALT attributes.

Actually, there are only 5 images missing the ALT="", but they repeat alot - LOL

If I add the attribute on each occurance of these image tags, the page size increases from an already heavy 39.9kb to 43kb, and what would be the point?

Still, in the back of my mind I know that there is one page that doesn't validate!

davidpbrown

8:47 am on Nov 25, 2003 (gmt 0)

10+ Year Member



Feel how that one page makes like a grain of sand?

Of course you might make an oyster but it's a slippery slope to XHTML 1.1 - strict and accessible by default.

You'll be looking forward to XHTML2.0 before you know it!

dpb

keyplyr

9:07 am on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Nope, this is a utility that will not function written in XHTML. But if I ever get the time, I could/should rewrite it in PHP then it could be displayed on any type mark-up and also solving the image validation issue.

RammsteinNicCage

1:18 pm on Nov 25, 2003 (gmt 0)

10+ Year Member



Is there any way that you can break the page up into a couple of pages?

Jennifer

Birdman

1:26 pm on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or...possibly use the image as a background for an element and then you have no <img> tags at all. It sounds like some sort of icon, since it's used 191 times. Perhaps use it as the bg of the element that the icon denotes(if it's an icon).

That could reduce your filesize considerably.

keyplyr

6:36 pm on Nov 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks, the image(s) is only in the code 191 times, it is called by JS to display in various configs for a user dynamic utility. An yes, it is a bit of an icon, but a popular one getting 5k page views per day. It would be quite the job rewriting it to PHP but that's what I will most likely do eventually.