Previous Thread
Next Thread
Print Thread
Hop To
#166690 10/21/2006 3:18 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
i just put my version 7 ubbthread.php through the HTML validation service of w3.prg, and came up with this result:

Result: Failed validation, 193 errors
File: upload://Form Submission
Encoding: utf-8
Doctype: HTML 4.01 Transitional

sure, the vast majority of the "errors" were missing "alt=" attributes in IMG tags. however, there were also a significant number of other errors that could be considered more serious, such as misplaced /TR tags and a missing /TABLE. (i'm hoping it's not from one of my HTML inserts!)

of course, the w3 validator is not perfect, and is sometimes wrong, especially, it seems, when javascript is used.

any thoughts on this?


Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Version one of the new product, not a big suprise that it failed...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
well, the "failure" was greatly weighted by the absence of alt attributes in IMG tags. i've always thought this to be a complete waste of bandwidth, myself.

here are a list of the non-ALT errors that I turned up:

Quote
1. Error Line 32 column 72: document type does not allow element "META" here.
2. Error Line 33 column 84: document type does not allow element "LINK" here.
3. Error Line 34 column 76: document type does not allow element "LINK" here.
4. Error Line 50 column 6: document type does not allow element "TITLE" here.
5. Error Line 51 column 6: end tag for element "HEAD" which is not open.
6. Error Line 52 column 63: document type does not allow element "BODY" here.
7. Error Line 54 column 23: document type does not allow element "STYLE" here.
8. Error Line 55 column 74: there is no attribute "BACKGROUND".
9. Error Line 57 column 32: there is no attribute "BACKGROUND".
18. Error Line 190 column 7: "TR" not finished but containing element ended.
27. Error Line 235 column 7: "TR" not finished but containing element ended.
36. Error Line 271 column 7: "TR" not finished but containing element ended.
45. Error Line 316 column 7: "TR" not finished but containing element ended.
54. Error Line 353 column 7: "TR" not finished but containing element ended.
63. Error Line 400 column 7: "TR" not finished but containing element ended.
72. Error Line 444 column 7: "TR" not finished but containing element ended.
81. Error Line 512 column 7: "TR" not finished but containing element ended.
90. Error Line 551 column 7: "TR" not finished but containing element ended.
100. Error Line 822 column 7: "TR" not finished but containing element ended.
110. Error Line 1088 column 7: "TR" not finished but containing element ended.
120. Error Line 1247 column 7: "TR" not finished but containing element ended.
130. Error Line 1355 column 7: "TR" not finished but containing element ended.
139. Error Line 1396 column 7: "TR" not finished but containing element ended.
144. Error Line 1428 column 98: there is no attribute "ONENTER".
149. Error Line 1454 column 7: "TR" not finished but containing element ended.
158. Error Line 1771 column 7: "TR" not finished but containing element ended.
167. Error Line 1815 column 7: "TR" not finished but containing element ended.
172. Warning Line 1834 column 74: cannot generate system identifier for general entity "id".
173. Error Line 1834 column 74: general entity "id" not defined and no default entity.
174. Error Line 1834 column 76: reference to entity "id" for which no system identifier could be generated.
175. Info Line 1834 column 73: entity was defined here.
176. Warning Line 1834 column 79: cannot generate system identifier for general entity "t".
177. Error Line 1834 column 79: general entity "t" not defined and no default entity.
184. Error Line 1851 column 7: "TR" not finished but containing element ended.
193. Error Line 1912 column 7: "TR" not finished but containing element ended.

the META tag and BACKGROUND attribute "errors" are trivial, however the missing /TR tags probably needs attention.

having said that, it's still not impossible that my own insert code is causing at least some of these errors, however i've checked this several times and run it through checker programs separately, and it appears ok.



Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Keep in mind that the "alt" tag is read by alternative readers as a representation on WHAT the image is; you know, blind people can't see so how are they to know what the image is?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Will take a look at these and see what we need to cleanup for 7.0.1. Thanks for the info.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
:holds up a pint: heres for a "html validity" "feature" in UBB 7.0.1!


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
Originally Posted by Gizmo
Keep in mind that the "alt" tag is read by alternative readers as a representation on WHAT the image is; you know, blind people can't see so how are they to know what the image is?

that would be fine, except that the vast majority of graphics images in this case -- probably in excess of 95% -- are just visual design elements, like shade lines and single pixel gifs. they aren't actually "informational" graphics or photos, and are thus not very useful to blind people or to people using non-graphical browsers.

IMESHO the ALT attribute should have been made non-compulsory for this reason.

but nonetheless, it would be nice -- but not essential -- if version 7 was w3c compliant, if at all possible.


Okusi Associates -- Indonesian business and management services
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It turns out if you take a stock version of threads 7 we only have a couple validation problems. 2 or 3 in fact so it's just about compliant. There are quite a few on this site due to the custom table wrappers I'm using that I need to clean up.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 925 guests, and 159 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)