Open Bug 669066 Opened 13 years ago Updated 2 years ago

Accesskeys fail to work with Wordpress when editing a post

Categories

(Firefox :: Keyboard Navigation, defect)

5 Branch
All
Other
defect

Tracking

()

People

(Reporter: raven, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

Attempted to use accesskeys for functions in the rich-text editor of a WordPress blog. I tested both WordPress-hosted and self-hosted. There are accesskeys for actions such as bolding test and creating links - still visible in the Web Developer Toolbar.


Actual results:

Nothing.


Expected results:

Text should be made bold or dialog opened for link URL.
The accesskeys work when a new post is created, but do not work for editing existing posts. The accesskey for "post/update" (<accesskey>-p) still works, but those for the rich text editor do not.

I can confirm that the same accesskeys work for the same self-hosted blog in Firefox 3.6.18, and as far as I can recall in Firefox 4. This appears to be a Firefox 5 regression.
Please provide a public URL or reduced test case the exhibits this issue.

Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode

How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile

Any errors in the error console?
I have just tested it in Safe Mode and with a new, empty profile and can duplicate the same error.
There are no relevant errors in the error console.

For a public URL, I have created a new WordPress.com account for those who don't have one. You can go to:
http://firefox5test.wordpress.com/wp-admin/post-new.php
and login with u: firefox5test and p: mozillatest1
(Note: WordPress seems to redirect you if you're already logged in to WordPress, but if you can you can test on your own blog anyway...)

Test cases:
1) Go to Posts -> Add New (the URL should take you straight there).
Visual editor should be disabled, so it should be in HTML mode.
Type some text in the HTML editor, highlight it, and hit <accesskey>-b (by default ctrl-b on Mac, shift-alt-b on Windows, etc). The text should be surrounded by <strong> tags.
This is as desired, but only for a new post.

2) Publish that post, or go to Posts -> All Posts and edit an existing post.
Highlight some text in the HTML editor and type <accesskey>-b. The text will not be surrounded in <strong> tags. Web Developer Toolbar or similar will show that the same accesskeys are still active.

There are some CSS errors in the Error Console, but they appear to be identical for case 1 (working) and case 2 (broken), so I'm not convinced they're relevant.
(typo: if you *are* you can test on your own blog...)

Of course it's not just the bold accesskey but all access keys within the HTML editor which are broken. As mentioned in the Description, there is an accesskey for publishing, which still works though, so this is a strangely specific bug I admit.
But the same accesskeys work properly in earlier versions of Firefox (I still have one installed on another machine).
So it only fails when you edit an existing post, correct? I was able to use them in test 1, but failed in test 2.
Thanks - yes, it only fails when editing an existing post.

In Firefox 3.6.x they do work when editing existing posts as well.
I don't have an installation of Firefox 4 at hand to test, but I use them every week and only noted the problem last week, so I believe it's only since Firefox 5.
Tested on Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110703 Firefox/7.0a1 ID:20110703030754

(Based on a search for similar bugs I think Keyboard Navigation may be the correct component)

STR:

Go to http://firefox5test.wordpress.com/wp-admin/edit.php
Login with username: firefox5test and password: mozillatest1
Choose a title and select edit
Attempt to use an access key (i.e. <accesskey>-i for italic)

Actual Result:

No action taken

Expected result:

Text should be surrounded by <em> tags

The same access key works when you first create a post.
Status: UNCONFIRMED → NEW
Component: General → Keyboard Navigation
Ever confirmed: true
OS: Other → All
QA Contact: general → keyboard.navigation
Summary: Accesskeys unreliable in Firefox 5 → Accesskeys fail to work with Wordpress when editing a post
Version: 5 Branch → Trunk
Thanks for confirmation, Tim. And I wasn't confident of putting it in Keyboard Navigation, cheers.
Component: Keyboard Navigation → General
OS: All → Other
Version: Trunk → 5 Branch
Component: General → Keyboard Navigation
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.