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

[a11y] Fix lack of visible focus in Firefox and IE on "?" keyboard shortcuts button #1463

Merged
merged 1 commit into from
Nov 13, 2018
Merged

[a11y] Fix lack of visible focus in Firefox and IE on "?" keyboard shortcuts button #1463

merged 1 commit into from
Nov 13, 2018

Conversation

cshaver
Copy link
Contributor

@cshaver cshaver commented Nov 12, 2018

Summary

This moves the border styles that makes the triangular shape to a ::before pseudo element and sets a specific height and width on the button itself. Also adjusts the absolute positioning on the ? accordingly now that the dimensions have changed.

Screenshots

Win10, IE11, default

Firefox, MacOS, vertical

Firefox, MacOS, vertical with fullscreen portal

@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.049% when pulling f3112e6 on cshaver:crit--keyboard-help-focus into 5a132cb on airbnb:master.

@ljharb ljharb added the semver-patch: fixes/refactors/etc Anything that's not major or minor. label Nov 12, 2018
Copy link
Collaborator

@majapw majapw left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me! At some point it may be good to refactor out some of these reused constants.

@majapw majapw merged commit e76e308 into react-dates:master Nov 13, 2018
@cshaver cshaver deleted the crit--keyboard-help-focus branch November 13, 2018 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch: fixes/refactors/etc Anything that's not major or minor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants