Hover effect can cause problems with keyboard focus

Created on 12 April 2024, 7 months ago
Updated 17 April 2024, 7 months ago

The hover effect is controlled in JavaScript, and has a delay on toggling (by design). The hover off is triggered when you hover over another menu item, but not when you hover outside the menu.

That means that if you quickly hover over a few items, then move your mouse outside the menu drawer, the hovered items will stay hovered.

This blocks arrow movement, unless you press arrow left to "dismiss" the (hidden) popover.

There's also reports of a JavaScript error.

[Error] TypeError: undefined is not an object (evaluating 'focusableElements[focusedIndex-1].focus')
	(anonymous function) (js_Ez2GMQcuGAO5zipRlKWSB0V0jT7lLqDrF3Fi0L4o6dY.js:1970:3557)
πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bronzehedwick New York

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024