For accessibility reasons, the dialog sets the focus to the first focusable element in the dialog after it opens. - Richard
On Sat, Aug 29, 2009 at 1:01 PM, Dennis Madsen <[email protected]> wrote: > > Thanks for your answer! > > I don't know where that focus come from. How someone can tell me why > that link gets focus. > > On Aug 29, 6:47 pm, Thorsten Panknin <[email protected]> wrote: > > Hi Dennis, > > > > > 1) In IE8 or FF I see a strange dashed border on the "Link"-text in > > > the dialog. How can I remove it? > > > > The dashed border you're seeing means that the element has "focus" and > > is ready for user input via the keyboard. If you hit the enter key after > > the page has loaded, you'll be taken to the link's destination directly > > without having to use a mouse click. > > > > You can remove the dashed border by using the CSS pseudo class :focus on > > the link and removing any border or outline. Here's a link to a resource > > explaining :focus > > > > http://reference.sitepoint.com/css/pseudoclass-focus > > > > Is the focused link intended behaviour anyway? If not, I am sure someone > > else here will be able to help you. From looking at your demo code, I > > can't see where the focus comes from. > > > > Cheers, > > > > - Thorsten > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
