Skip to content

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

Merged
stacey-gammon merged 4 commits intoelastic:masterfrom
stacey-gammon:fix/firefox-fullscreen-hover-button
Jul 24, 2017
Merged

Children of buttons won't capture hover events in firefox#13015
stacey-gammon merged 4 commits intoelastic:masterfrom
stacey-gammon:fix/firefox-fullscreen-hover-button

Conversation

@stacey-gammon
Copy link
Copy Markdown

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

Fixes #12987

cc @cjcenizal

Copy link
Copy Markdown
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.

<dashboard-app class="app-container dashboard-container">
<div class="fullScreenModePlaceholder">
<button
<div
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice.

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@stacey-gammon stacey-gammon requested a review from aphelionz July 21, 2017 16:25
Copy link
Copy Markdown
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