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

Legend focus indicator remains after losing focus #16633

Closed
pvsleeper opened this issue Nov 11, 2021 · 3 comments
Closed

Legend focus indicator remains after losing focus #16633

pvsleeper opened this issue Nov 11, 2021 · 3 comments
Labels
a11y Accessibility related.

Comments

@pvsleeper
Copy link

Expected behaviour

Focus indicator should disappear when focus is lost from legend when using the mouse and a11y is enabled.

Actual behaviour

The issue is slightly intermitted, but happens 9/10 times. The blue focus indicator border does not get removed from the legend when using the mouse to set focus on another element in the DOM. Using the keyboard however appears to be working fine.

Live demo with steps to reproduce

https://jsfiddle.net/Ld09htsz/13/

Product version

9.3.1

Affected browser(s)

Google Chrome, Edge

@KacperMadej
Copy link
Contributor

hi @pvsleeper

Thank you for reporting the problem.

Not sure if the behavior is by design like that.

More specific a11y comments might follow soon.

@KacperMadej KacperMadej added the a11y Accessibility related. label Nov 15, 2021
@pvsleeper
Copy link
Author

Hi @KacperMadej - thanks for looking into it. I feel pretty sure that the behavior is incorrect as it is a false focus that is being displayed which goes against the a11y rules

@oysteinmoseng
Copy link
Member

Fixed in pending PR #16732. The fix should be part of the next official release.

Closing this issue manually as our automation won't catch it when multiple issues are fixed in one PR.

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

No branches or pull requests

4 participants