-
-
Notifications
You must be signed in to change notification settings - Fork 455
Open
Labels
Description
Expected Behavior
Cookie consent bar captures focus when appear.
Current Behavior
Cookie consent bar doesn't capture focus when appear.
Steps to reproduce
- Ensure consent is not made
- Set consent modal settings to
consentModal: {
layout: 'bar inline',
position: 'bottom',
flipButtons: true
}
- Run the consent
- Open the page with the consent running (also add some focusable component on it, like button)
- Press F button (in Chrome or button which highlights the focus)
- Observer that the focus is not inside the consent bar
Proposed fix or additional info.
It worked in V2.9.2
Despite this fact focus capturing works ok in V3.1.0 when the user opens settings modal and close it with a keyboard.
Version
3.1.0
On which browser do you see the issue?
Chrome