Results 1 to 7 of 7

Thread: GBHXonline V3 Forms Problem

  1. #1
    Join Date
    Jan 2005
    Nottingham NH

    GBHXonline V3 Forms Problem

    Hey guys, I made a new site for my hosting company. 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.


  2. #2
    Join Date
    Jan 2005
    Nottingham NH
    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:


    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.


  3. #3
    Join Date
    Dec 2002
    Manchester, UK
    Well, this:
    <div class="navbar"><!-- header navbar include -->
    &bull; <a href='#content' title='Skip Navigation - Accesskey: 0' accesskey='0' tabindex='1'>Skip <acronym title='Navigation'>Nav</acronym></a> &bull; 
    <a href='siteinfo.php' title='Site Information - Accesskey: 1' accesskey='1'>Site Info</a> &bull; 
    <a href='index.php' title='Home Page - Accesskey: 2' accesskey='2'>Home</a> &bull; 
    <a href='hosting.php' title='Hosting Information - Accesskey: 3' accesskey='3'>Hosting</a> &bull; 
    <a href='support.php' title='Support Page - Accesskey: 4' accesskey='4'>Support</a> &bull; 
    <a href='ticket.php' title='Help Ticket - Accesskey: 5' accesskey='5'>Ticket</a> &bull;
    <a href='contact.php' title='Contact Information - Accesskey: 6' accesskey='6'>Contact</a> &bull;  
    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.
    Last edited by David Harrison; 04-16-2005 at 08:37 PM.

  4. #4
    Join Date
    Jan 2005
    Nottingham NH
    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...



  5. #5
    Join Date
    Dec 2002
    Manchester, UK
    You can escape " in strings by using a backslash:
    $toplinks = "<ul><li>|<a href=\"#top\" title=\"Top of Page\" accesskey=\"T\">PageTop</a></li><li>|<a href=\"#mainmenu\" title=\"On Page Menu\">PageMenu</a>|</li></ul>";
    Edit: Also, there's no need for this:
    <a name="top"></a>
    <a name="content"></a>
    <a name="mainmenu"></a>
    <a name="meet" tabindex="2"></a>
    <a name="diff" tabindex="3"></a>
    <a name="host" tabindex="4"></a>
    <a name="sidebartop"></a>
    <a name="sidemenu"></a>
    <a name="deals" tabindex="5"></a>
    <a name="webdesign" tabindex="6"></a>
    Anything with an ID can act as an anchor. And the tabindex on the anchors doesn't work (at least not in Firefox).
    Last edited by David Harrison; 04-17-2005 at 08:55 AM.

  6. #6
    Join Date
    Jan 2005
    Nottingham NH
    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


  7. #7
    Join Date
    Jan 2005
    Nottingham NH
    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.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.13233 seconds
  • Memory Usage 2,911KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (7)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates