On Sat, 22 Sep 2007 14:45:22 +0200, Joel Clermont <[EMAIL PROTECTED]> wrote:
> What does everyone think? Also, could someone take a few minutes and > explain to me again the full reason for the <A> tag with a real href? > Was it just accessibility reasons? Hi, "*just* accessibility" does not exist ;o) Accessibility is not about blind grandmas using an old 386 with braille keyboard, it is about an application being easy to use for us all, regardless of the device we are using, the device ranges from a PDA, iPhone, PS2 to a thin client in a corporate network that doesn't allow modifyinf strict securoity settings or remote ssh access to a computer that only allows using a text-based browser like Lynx, up to ease of use for regular users too. I haven't followed this bug from the beginning, so I'm not sure exactly what is affected, but if it is the title of the email that you click to read the mail, having it as an <a>-tag also allows one to click it with the middle mouse-button to open that email in a new browser-tab, so multiple emails can be opened together, it allows bookmarking emails, it allows saving the email locally and the back-button might work for paging between emails - of course this bug might be regarding a different <a>-tag, so I might be way off-base here. Regarding a fix for the problem: Have you tried replacing the 'onclick' event with an 'onmouseup' event? Personally I always use onmouseup anyway, as it better mirrors the way an OS works, where you can click something, and if you see you are on the wrong button you can move your mouse to the correct button and release it there without fireing the first one. Another solution might be to detect the exact version of IE that has this problem, and then do a DOM-replacement replacing the <a> by a <span> only for that browser-version - this would leave all other browser alone, as well as people using that browser-version without javascript. Hope all that helps in some way... Richard. _______________________________________________ List info: http://lists.roundcube.net/dev/
