WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Accessibility and web applications

for

From: Don Mauck
Date: Apr 2, 2014 8:42AM


I do think this could fall under WCAG2.0 3.3.4, quite possibly (G168). I believe that if the visual user can see it on the screen the screen reader needs to read that as well. Many, many web pages do give an error when requesting to leave the page.
-----Original Message-----
From: Patrick H. Lauke [mailto: <EMAIL REMOVED> ]
Sent: Wednesday, April 02, 2014 4:18 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Accessibility and web applications

Perhaps adding a window.onunload event handler that brings up a confirmation dialog may be of use? Keep track of whether or not a user has entered any new data, and if so on unload bring up something like

confirm("If you leave this page without saving, your changes will be lost.");

P

On 02/04/2014 11:01, Liko, Todd wrote:
> Hello all.
>
> I have a colleague who came to me for advice about his web application. He has already received advice from another individual and is looking for a second opinion. My opinion differs from the other individual's. I am hoping to get some feedback in here.
>
> The web application in question has a details screen where one can update the information about an employee and then click on the 'Save' button to save that information into a database. The application contains a left hand navigation menu and mega menu. If the information is not saved before navigating away from the page, the information will not be saved to the database.
>
> The other individual is saying my colleague must include a notice on every details page, warning the user that the information input will not be saved if they navigate away from the page before clicking 'Save'. In addition, if that happens, any information entered must be retained, should the user come back to the details page, regardless of how many links navigated away from the page.
>
> In my opinion, this is not an accessibility issue as much as it is a usability issue. The help file for the application does mention information must be saved before navigating away from the details page. I also believe the user is making a conscious decision to navigate away from the page and retaining the information entered is not required.
>
> That being said, if providing this notice can be done without re-engineering the application, my advice is to do it, but it is more of a courtesy than a requirement.
>
> Thoughts?
>
> Todd.
>
>
> > > list messages to <EMAIL REMOVED>
>


--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke