#30703 closed defect (bug) (fixed)
Comments Menu Item Triggers Random Links on iPad
Reported by: | miqrogroove | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Administration | Keywords: | has-patch commit fixed-major |
Focuses: | accessibility | Cc: |
Description
This is reproducible on my iPad 3 with iOS 8.1.2:
- Open admin in landscape orientation.
- Collapse the admin menu.
- Tap the thumbtack icon for posts.
- Tap the Categories menu item.
- Tap the balloon icon for comments.
Expected result: Comments page should open.
Actual result: Users page opens. :(
Also found:
- Open admin in landscape orientation.
- Collapse the admin menu.
- Tap the thumbtack icon for posts.
- Tap the Categories menu item.
- Tap the Edit link for one of the categories.
- Tap the balloon icon for comments.
Expected result: Comments page should open.
Actual result: Themes page opens. :(
Change History (13)
This ticket was mentioned in Slack in #core by miqrogroove. View the logs.
10 years ago
#3
@
10 years ago
- Milestone changed from Awaiting Review to 4.1
Confirmed. Happens only on the Posts => Categories and Posts => Tags screens, seems caused by auto-focusing the first input field on page load.
Tapping anywhere on the screen would open the keyboard and auto scroll-into-view. The 'click' event fires after that auto-scroll so the actual click is on a completely different place on the screen. This affects all links/buttons, not just the menu.
This ticket was mentioned in Slack in #accessibility by azaozz. View the logs.
10 years ago
#5
@
10 years ago
- Focuses accessibility added
Replacing the (old) JS based autofocus with the HTML5 attribute changes the behavior in iOS Safari a bit but is still quite buggy. Now the onscreen keyboard opens, the page auto-scrolls and then the keyboard closes by itself...
Removing the autofocus for mobile devices for now. Seems we only have that for the Tags, Categories, Edit Tag, Edit Category, and Edit Comment screens. If auto-focusing on page load is better for accessibility, we should use the HTML attribute (except on mobile devices).
#8
@
10 years ago
Right. In install.php the focusing is already disabled for mobile devices.
In setup-config.php we focus a readonly textarea that doesn't trigger showing the keyboard. This is still kind of buggy in iOS, may auto-scroll on the first tap. Patching.
I confirmed this is a regression in trunk. In the 4.0.1 site I tested, tapping the comments icon will cause one of the menus to fly out rather than navigating to a different random page.