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

Children of buttons won't capture hover events in firefox #13015

Merged

Conversation

stacey-gammon
Copy link
Contributor

@stacey-gammon stacey-gammon commented Jul 20, 2017

Fixes #12987

cc @cjcenizal

Copy link
Contributor

@snide snide left a 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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

Copy link
Contributor

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>
Copy link
Contributor

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.

Copy link
Contributor

@cjcenizal cjcenizal left a 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.

Copy link
Contributor

@aphelionz aphelionz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@stacey-gammon stacey-gammon merged commit 2f23303 into elastic:master Jul 24, 2017
@stacey-gammon stacey-gammon deleted the fix/firefox-fullscreen-hover-button branch October 24, 2017 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants