/    Sign up×
Community /Pin to ProfileBookmark

GBHXonline V3 Forms Problem

Hey guys, I made a new [url=http://gbhxonline.com][b]site for my hosting company[/b][/url]. I made it really accessible — checkpoint two site for sure. It’s written to XHTML Strict, uses sematic mark-up, all that jazz. This site uses a more solid CSS than my portfolio, I hope so anyway. Please tell me what you think. Have some fun with it with the Firefox Web Dev tools: disable images, disable colors, removes styles, etc. It degrades nicely which is one advantage to making a site this way. Please tear it apart from an accessibilities standpoint.

If someone can, please let me know what’s wrong with my forms. I guess I’m supposed to use “selected” on my pulldowns, but I don’t know how to apply it and pass validation. It tells me my fields have to be populated, which they are, so I’m confused. The forms work great (try contact, check out the result return), they just don’t pass priority three, mechanical that is.

Thanks,
Mike

to post a comment

6 Comments(s)

Copy linkTweet thisAlerts:
@Green-BeastauthorApr 17.2005 — I took care of the selected issue. It needed to be selected="selected". While I was at it I improved the usability of my forms with this:

onfocus="if(this.value==this.defaultValue)this.value=''"

I had just a null onfocus value before... if one went back to say, fix their email address or something, the field would clear completely. Now it doesn't. ?

Mike
Copy linkTweet thisAlerts:
@David_HarrisonApr 17.2005 — Well, this:<div class="navbar"><!-- header navbar include -->
• <a href='#content' title='Skip Navigation - Accesskey: 0' accesskey='0' tabindex='1'>Skip <acronym title='Navigation'>Nav</acronym></a> •

<a href='siteinfo.php' title='Site Information - Accesskey: 1' accesskey='1'>Site Info</a> •
<a href='index.php' title='Home Page - Accesskey: 2' accesskey='2'>Home</a> •
<a href='hosting.php' title='Hosting Information - Accesskey: 3' accesskey='3'>Hosting</a> •
<a href='support.php' title='Support Page - Accesskey: 4' accesskey='4'>Support</a> •
<a href='ticket.php' title='Help Ticket - Accesskey: 5' accesskey='5'>Ticket</a> •
&lt;a href='contact.php' title='Contact Information - Accesskey: 6' accesskey='6'&gt;Contact&lt;/a&gt; &amp;bull; <br/>
&lt;/div&gt;
Should be an unordered list and you could add the bullet points in with CSS, although to get the bullets with IE you'd still have to use &bull;. And what's with the single quotes? I know you're not using XHTML 1.1 and sending as application/xhtml+xml, but if in the future you decide you want to, you'll have to go back and fix this.

Also, I notice that a lot of the text is light gray on a light gray background, that's gonna seriously hard to read for some people to read. And I didn't even notice the yellow underline for your <abbr>'s until I accidentally moused over one.

These are just a couple of quick points that I noted, I'll probably come back and post more later.
Copy linkTweet thisAlerts:
@Green-BeastauthorApr 17.2005 — Okay, cool man. Appreciate it.

The links are just floating there. I couldn't think of a reason to put them in a horzizontal list so I didn't. Sematics-wise they're fine as are et al. I just couldn't see a reason.

Good eye on the single quotes. The reason you're seeing that is because of the way they are brought into the pages (you'll only see that on certain links).

I maintan a link list for the entire site, being that the urls are in PHP, I had to use the single quotes... I think so anyway.

Example (to-top link-set):

<?

$toplinks = "|<a href='#top' title='Top of Page' accesskey='T'>PageTop</a>|<a

href='#mainmenu' title='On Page Menu'>PageMenu</a>|";

?>

...with this, then I only had to write <?=$toplinks ?> to get...

|[url=#top]PageTop[/url]|[url=#mainmenu]PageMenu[/url]|





Mike
Copy linkTweet thisAlerts:
@David_HarrisonApr 17.2005 — You can escape " in strings by using a backslash:&lt;?
$toplinks = "&lt;ul&gt;&lt;li&gt;|&lt;a href="#top" title="Top of Page" accesskey="T"&gt;PageTop&lt;/a&gt;&lt;/li&gt;&lt;li&gt;|&lt;a href="#mainmenu" title="On Page Menu"&gt;PageMenu&lt;/a&gt;|&lt;/li&gt;&lt;/ul&gt;";
?&gt;
Edit: Also, there's no need for this:&lt;a name="top"&gt;&lt;/a&gt;
&lt;a name="content"&gt;&lt;/a&gt;
&lt;a name="mainmenu"&gt;&lt;/a&gt;
&lt;a name="meet" tabindex="2"&gt;&lt;/a&gt;
&lt;a name="diff" tabindex="3"&gt;&lt;/a&gt;
&lt;a name="host" tabindex="4"&gt;&lt;/a&gt;
&lt;a name="sidebartop"&gt;&lt;/a&gt;
&lt;a name="sidemenu"&gt;&lt;/a&gt;
&lt;a name="deals" tabindex="5"&gt;&lt;/a&gt;
&lt;a name="webdesign" tabindex="6"&gt;&lt;/a&gt;
Anything with an ID can act as an anchor. And the tabindex on the anchors doesn't work (at least not in Firefox).
Copy linkTweet thisAlerts:
@Green-BeastauthorApr 17.2005 — Okay, cool, thanks for all that David. Always learning.

I should have known about the escapes, it does that in my onpage output. I'll have to go back and work on those. Should take too long since they are all in a single file ?

Mike
Copy linkTweet thisAlerts:
@Green-BeastauthorApr 19.2005 — I went through and replaced all my single quotes with escaped doubles. Just posting this to let you know your advice didn't fall on deaf ears. Thanks.

Mike
×

Success!

Help @Green-Beast spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...