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

Add focusable="false" to dls-web svgs #1190

Merged
merged 1 commit into from
May 29, 2018

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented May 29, 2018

Because SVGs are focusable by default in IE, we need to add this attribute to prevent this behavior
and specifically to prevent a double-focus by screen-readers on our interactive buttons (e.g. month navigation).

to: @backwardok @erin-doyle

Because SVGs are focusable by default in IE, we need to add this attribute to prevent this behavior
and specifically to prevent a double-focus on our interactive buttons.
@majapw majapw added semver-patch: fixes/refactors/etc Anything that's not major or minor. accessibility Anything related to ensuring *everybody* can use react-dates <3 labels May 29, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.868% when pulling 228ff24 on maja-add-focusable-false-to-arrow-svgs into 7de0e4b on master.

Copy link
Contributor

@backwardok backwardok left a comment

Choose a reason for hiding this comment

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

Assuming this doesn't need to work on any amp pages (that seems like that shouldn't happen right?) this lgtm!

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

Are the other SVG changes just making them more optimized, but not altering their dimensions or browser support?

@majapw
Copy link
Collaborator Author

majapw commented May 29, 2018

@ljharb Yes! Sorry I meant to say that in the description. I just ran them through svgo. :)

@majapw majapw merged commit 9b60f32 into master May 29, 2018
@majapw majapw deleted the maja-add-focusable-false-to-arrow-svgs branch May 29, 2018 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Anything related to ensuring *everybody* can use react-dates <3 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