01187: access keys 'ak_em' and 'ak_strong' don't work in Internet Explorer

Summary: access keys 'ak_em' and 'ak_strong' don't work in Internet Explorer
Created: 2010-04-24 03:00
Status: Open
Category: Bug
From: SchreyP
Assigned:
Priority: 2
Version: tested 2.2.6 and 2.2.15
OS: n.a. (I think)

Description: Hi,

Trying to enable the Access keys for making text italic or bold in Internet Explorer does not work:

  • Pressing Alt + Access key will switch the focus to the GUIbutton
  • But at the same time the focus is removed from the selected text in the text area box, so nothing happens

It works correctly in FireFox (v3.6)

Prerequisites:

  • Having the GUIbuttons enabled in local/config.php
  • Either have site preferences also enabled or having the access keys defined in a local XLPage

Tested versions:

  • PmWiki versions v2.2.6 and v2.2.15, last in local install and on pmwiki.org
  • Internet Explorer versions 7.x and 8.x

Afaik MSIE just sets the focus to the element (button, link, text field...), you need to press Enter/Return to activate it. Can you confirm this? If so, the documentation should be updated. --Petko November 09, 2010, at 04:47 AM

Hi Petko, old entry so I tested this again. For MSIE you need indeed to press Enter/Return after the Alt + Access key sequence. This is documented under exceptions (documentation could be improved, you easily overlook this).
But this is not the problem. This procedure works for all other access keys in MSIE, except for the two GUIbutton access keys. I think the problem is that for some reason in MSIE when typing Alt + Access key in Edit mode, the selected text get's deselected again and the focus go's back to the default button (Save button), BEFORE you can type the Enter/Return. So you try to apply the GUIbutton to NO selected text, but with focus on Save button. Result: page is saved without the change you intended to do. -- SchreyP November 10, 2010, at 03:26 PM