Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt_framework: a11y focus isn't set to unfocusable elements #3022

Closed
oliverfoster opened this issue Feb 1, 2021 · 1 comment · Fixed by #3023
Closed

adapt_framework: a11y focus isn't set to unfocusable elements #3022

oliverfoster opened this issue Feb 1, 2021 · 1 comment · Fixed by #3023
Assignees

Comments

@oliverfoster
Copy link
Member

Subject of the issue

Elements which can normally not receive focus should be forced focus.
This currently only works if preventScroll is set on the focus call.
It should work without the preventScroll flag being true.

@oliverfoster oliverfoster self-assigned this Feb 1, 2021
@moloko moloko changed the title adapt_framework: a11y focus isn't set to unfocuable elements adapt_framework: a11y focus isn't set to unfocusable elements Feb 1, 2021
@moloko
Copy link
Contributor

moloko commented Feb 1, 2021

to replicate issue, click on any component in PLP then check the value of document.activeElement - it should be the 'heading' div of the component but instead ends up being either the PLP button (Firefox) or the body element (Chrome)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants