On page load, when force_consent is active and you navigate with a screen reader (e.g., NVDA), you can still navigate through the rest of the page instead of experiencing the same behavior as when the modal parameter is open.
EX : When press H in NVDA we can access all the header of the page.
Proposed solution
Force the focus on the banner on page load until the user accepts or refuses the cookies.
Description
On page load, when force_consent is active and you navigate with a screen reader (e.g., NVDA), you can still navigate through the rest of the page instead of experiencing the same behavior as when the modal parameter is open.
EX : When press H in NVDA we can access all the header of the page.
Proposed solution
Force the focus on the banner on page load until the user accepts or refuses the cookies.
Additional details
Tested on latest version of NVDA.