#824 assigned defect

WUI directory pages lack correct XHTML 1.0 Transitional declarations — at Initial Version

Reported by: davidsarah Owned by:
Priority: normal Milestone: soon
Component: code-frontend-web Version: 1.5.0
Keywords: standards html Cc:
Launchpad Bug:

Description

Results of running the W3C online validator on the root directory of the testgrid:

http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=Inline&group=1&user-agent=W3C_Validator%2F1.654

If I override the doctype to be "XHTML 1.0 Transitional", it fares much better:

http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2Furi%2FURI%253ADIR2%253Adjrdkfawoqihigoett4g6auz6a%253Ajx5mplfpwexnoqff7y5e4zjus4lidm76dcuarpct7cckorh2dpgq%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1&user-agent=W3C_Validator%2F1.654

So every XHTML document should start with

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

There is also a minor error on the Welcome page:

http://validator.w3.org/check?uri=http%3A%2F%2Ftestgrid.allmydata.org%3A3567%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Transitional&group=1&user-agent=W3C_Validator%2F1.654

where I think the validator is wanting id="mutable" instead of, or in addition to name="mutable".

Change History (0)

Note: See TracTickets for help on using tickets.