html compliance and WA(web accessibility) issues

photon

Joined: 2002-09-24
Posts: 5
Posted: Tue, 2002-09-24 03:37

I found some pages generated by G1 are not compliant to HTML.
They don't even have <html> tag let alone DTD required
by W3C. They just began with <head> tag.

In addition, embedded Javascripts don't have 'type' attribute.
That is, they just have deprecated 'language' attribute.
They must have

<script type="text/javascript" language="javascript">

instead of

<script language="javascript">

On top of that, there are some web accessibility issues.
At the moment, it's not possible to use some features of G1 with
a browser not supporting Javascript (or when JS is disabled)
because there are tags like the following:

<a href="#" onClick="javascript:nw=
window.open('http://ykga.org/gallery/add_photos.php?albumName=picnic_fall_2002','Edit',
'height=500,width=500,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes');
nw.opener=self;return false;">[add photos]</a>

With a little effort, I believe, href attritbute in the above example
can be given a more meaningful value than a mere placeholder
like '#'. For non-JS browsers, height,width,location and so forth
are irrelevant and only info. missing in the first argument of
window.open() call is 'Edit' which can be rolled up into
the URL to use as the value of 'href' attribute in the example
above.

Another W-A issue is that virtually no alt tag is used for icons and pictures
in dynamic html pages generated by G1. One may wonder why anyone
wants to view photo albums with non-GUI browsers. However, some people
prefer to use text browsers for various reasons (they're blind, connect
to the net via a very slow link, have a very old slow computer, or
they simply like a lightweight browser). With 'alt' tags added to
images and icons, they can download and view only pictures
they're really interested in.

IMHO, making G1(or G2 under development) fully compliant to
html standard and more accessible (see http://www.w3.org/WAI)
would help it be better.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-24 09:19

G1 is a mess when it comes to standards. That's because it was never designed; it grew organically as I figured out what I wanted.

G2 is designed from the ground up to be HTML 4.01 compliant, and any Javascript it uses will be completely optional (ie, it will only be there to ease the UI, not for core features like it is in G1).