I just added modalpopextender control for the save dialog box. The way it is supposed to work is that when the user let’s say Save the changes, the message box opens and the text of the message is read by the screen reader. When they select the buttons
in the message box, such as Yes, No or Cancel, the message box closes.
This should be the behavior across the entire application.
There will be a message box like the one below. Try it with a keyboard. The focus is not lost.
The user should not leave the message box until clicking buttons in the message box. Even they cannot access any other stuff on the page unitl they they make a selection in the message box.
This is not what i meant. The user should not leave the dialog box until making selection. For example, i was prompted to get a dialog box. I just entered "Tab" key to next link (Yes, No, or Cancel button only). After past these buttons, I somehow entered
the key again. It was next to the url or google search box. It was not supposed to leave the dialog box until selecting Yes, No, or Cancel button in the box first.
I've been working on web application with 508 compliance. I tested the dialog box using modalpopextender control that user still leave the dialog box wtihout selecting buttons. It is like what javascript alert dialog does - user cannot leave the dialog
unless selecting "Ok" or "Cancel" button. Know what I mean? Can you assist me with that?
chipun
Member
5 Points
30 Posts
Modalpopextener control and focus
Jan 29, 2013 04:02 PM|LINK
I just added modalpopextender control for the save dialog box. The way it is supposed to work is that when the user let’s say Save the changes, the message box opens and the text of the message is read by the screen reader. When they select the buttons in the message box, such as Yes, No or Cancel, the message box closes.
This should be the behavior across the entire application.
There will be a message box like the one below. Try it with a keyboard. The focus is not lost.
The user should not leave the message box until clicking buttons in the message box. Even they cannot access any other stuff on the page unitl they they make a selection in the message box.
Please assist me with this issue.
Thank you,
Chi Ming
crlarsen83
Member
51 Points
55 Posts
Re: Modalpopextener control and focus
Jan 29, 2013 05:25 PM|LINK
Here is how i have done it before. I had to do click events for the buttons inside the panel. Hope it helps
<asp:Button ID="btnQuote" Text="Quote" runat="server"/>
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
DropShadow="true"
RepositionMode="RepositionOnWindowResizeAndScroll"
TargetControlID="btnQuote"
PopupControlID="pnl1">
</asp:ModalPopupExtender>
<asp:Panel ID="pnl1" runat="server" BorderColor="#000000" BorderWidth="2px" BackColor="#CCFFCC" Width="375px" style="padding:5px;border-radius:10px;display:none">
<span style="font-size:16px;color:black;">Do you want to include BillTo data on the CSV as well?</span>
<br /><br />
<div align="center">
<asp:Button ID="btnYes" runat="server" Text="Yes" style="padding:3px 10px;"/>
<asp:Button ID="btnNo" runat="server" Text="No" style="padding:3px 10px;"/>
</div>
</asp:Panel>
chipun
Member
5 Points
30 Posts
Re: Modalpopextener control and focus
Jan 29, 2013 06:03 PM|LINK
This is not what i meant. The user should not leave the dialog box until making selection. For example, i was prompted to get a dialog box. I just entered "Tab" key to next link (Yes, No, or Cancel button only). After past these buttons, I somehow entered the key again. It was next to the url or google search box. It was not supposed to leave the dialog box until selecting Yes, No, or Cancel button in the box first.
chetan.sarod...
All-Star
65709 Points
11133 Posts
Re: Modalpopextener control and focus
Jan 30, 2013 02:26 AM|LINK
Refer this thread
http://forums.asp.net/t/1103365.aspx
http://forums.asp.net/p/1111803/1713436.aspx
http://forums.asp.net/p/1177132/1987723.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
chipun
Member
5 Points
30 Posts
Re: Modalpopextener control and focus
Jan 31, 2013 05:46 PM|LINK
Hi Chetan,
I've been working on web application with 508 compliance. I tested the dialog box using modalpopextender control that user still leave the dialog box wtihout selecting buttons. It is like what javascript alert dialog does - user cannot leave the dialog unless selecting "Ok" or "Cancel" button. Know what I mean? Can you assist me with that?
Thanks,
Chi Ming
chipun
Member
5 Points
30 Posts
Re: Modalpopextener control and focus
Jan 31, 2013 06:23 PM|LINK
How can you “lock” the page components so the user can only interact with the dialog box?
crlarsen83
Member
51 Points
55 Posts
Re: Modalpopextener control and focus
Feb 06, 2013 07:25 PM|LINK
Can you show your code?