[wp-trac] [WordPress Trac] #47069: Twenty Nineteen: the admin bar on the front end has reduced functionalities and bugs due to jQuery not being used
WordPress Trac
noreply at wordpress.org
Sun Sep 22 02:14:02 UTC 2019
#47069: Twenty Nineteen: the admin bar on the front end has reduced functionalities
and bugs due to jQuery not being used
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.3
Component: Toolbar | Version: 5.0
Severity: normal | Resolution:
Keywords: has-screenshots has- | Focuses: accessibility,
patch needs-testing | javascript
-------------------------------------+-------------------------------------
Changes (by dinhtungdu):
* keywords: has-screenshots has-patch needs-refresh => has-screenshots
has-patch needs-testing
Comment:
[attachment:"47069.5.diff"] fixed some logic errors showed by `jshint`.
This patch needs cross-browser and cross-platform testing. Things to test:
Desktop:
* `nojs` class is removed after the DOM is loaded.
* Scroll page to top when clicking on the admin bar.
* Focusing on `#adminbar-search` adds `.adminbar-focused` to
`#adminbarsearch`. Unfocusing removes it.
* HoverIntent: the hover event doesn't fire instantly but delayed for
180ms.
* When a hash is present in the URL, the admin bar is hidden.
Keyboard navigation:
* Pressing Enter on the Skip to toolbar button focuses the admin bar.
* Pressing Enter on the menu opens the dropdown.
* Pressing Escape on the menu and sub-menu closes the dropdown.
Touch devices:
* `hover` class is removed when the user touches outside the menu items.
* Tapping on the menu opens the dropdown menu. Tapping again close the
dropdown.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47069#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list