-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Children of buttons won't capture hover events in firefox #13015
Children of buttons won't capture hover events in firefox #13015
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to adjust the accessibility stuff.
@@ -1,6 +1,6 @@ | |||
<dashboard-app class="app-container dashboard-container"> | |||
<div class="fullScreenModePlaceholder"> | |||
<button | |||
<div |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will now need a tab index and aria label.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used kbn-accessible-click
, that seemed to work better, otherwise I couldn't seem to press "enter" once it was highlighted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Good thinking @snide. kbn-accessible-click
adds those properties under the hood, so good call @stacey-gammon.
@@ -10,7 +10,7 @@ | |||
Exit full screen | |||
<span aria-hidden="true" class="kuiIcon fa fa-angle-left"></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the aria labels here now.
…irefox-fullscreen-hover-button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! I love the attention to detail wrt adding extra info via the aria-label
. It might be worth checking this with @aphelionz to make sure it actually adds the value we think it does, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Fixes #12987
cc @cjcenizal