da*****@hotmail .com wrote:
Hi,
I thought the DOM inspector only show the parse tree. No?
Your original used the word "tree", and sounded as if the DOM
is what you meant. Semantic structure is rarely strong in webpages,
whereas a DOM can always be constructed.
AccessValet is related to this task, in that its page analysis
includes a heuristic evaluation of semantic structure, and it will
issue warnings if it appears wrong. For example,
<p><big><b>My Homepage</b></big></p> will suggest that this should
be a heading, while <h4>a great long passage of text and
<img ...>other things<br> that really don't look like a heading</h4>
will generate an opposite warning. Of course, there's a big grey
area between obviously-right and obviously-wrong uses, where only
human evaluation will serve. AccessValet also offers a range of
options for presentation of results, including annotated tree views.
A simple summary is offered by page outliners in tools such as the
W3C validator, mod_accessibili ty, and some assistive browsers.
Check the archives of the w3c-wai-er (Evaluation and Repair tools)
list for relevant discussion and various experimental software.
--
Nick Kew
[ comp.ai is moderated. To submit, just post and be patient, or if ]
[ that fails mail your article to <co*****@modera tors.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]