DZone Forums
Go Back   DZone Forums > Community > Design & Usability > Accessibility
Reload this Page Greying out Submit button
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2008
Default Greying out Submit button - 05-23-2008, 02:45 PM

We want to grey out the submit button once the form is submitted in our web application. Does anybody know if this is 508 compliant?
Thanks.
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Sep 2008
Default 09-17-2008, 07:09 PM

Hi there,

Whether is 508 or not comes down to how you notify the user of what is happening and this goes even beyond section 508. Greying out the button in itself is not that much of a problem and is probably a good idea.

However, you need to provide the user with some feedback indicating that their request is being processed. For visual users a simple animated graphic will probably do the trick but as well as visually impaired or blind users, you may have to fall back to the javascript alert.

Once the user clicks submit or hit enter, have an alert that clearly states that processing has started. From there on out it becomes a development decision of how long you will give this process to complete before timing out.

And if something goes wrong, you need to use an alert again to notify the user and the move focus to the element that describes what the error was.

HTH,
Schalk Neethling

Quote:
Originally Posted by garvagh View Post
We want to grey out the submit button once the form is submitted in our web application. Does anybody know if this is 508 compliant?
Thanks.
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Oct 2008
Default 10-08-2008, 06:41 AM

AJAX can make your job easy.
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Sep 2008
Default 10-08-2008, 07:26 AM

Yes, it is very simple to do with JavaScript however, I think the main question here was whether disabling the button breaks 508 compliance. And here I believe one just needs to ensure that the user is aware of what is happening.

If one can change the buttons label text to something like 'Request processing....', one can then disable the button but you will need to move focus to the button so that screen readers will read the new label text out to screen reader users.

Have you got a Ajax/JavaScript snippet you can share?

Quote:
Originally Posted by theguru View Post
AJAX can make your job easy.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multipage wizard, action when 'Next'-Button is pressed j.seifried Java 0 10-13-2008 06:16 AM
Pull down button in View Toolbar jayjamba Eclipse 2 09-02-2008 12:49 AM
pop up window on button click? sharin Eclipse 0 06-17-2008 07:52 AM
why can't I repeat the drawing button in Editor of Eclipse? SusuLiao Eclipse 0 06-04-2008 11:05 PM
RCP - Open another application on a button click satya.muthu Eclipse 0 05-07-2008 12:13 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com