Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

feat(accessibility): allow modification of attributes on pin and clear buttons #920

Merged
merged 1 commit into from Oct 28, 2019

Conversation

JonathanMontane
Copy link
Contributor

@JonathanMontane JonathanMontane commented Oct 28, 2019

closes #860

Summary
This PR enables our users to apply arbitrary attributes on the clear and pin buttons, which enables one to override aria-labels if desired, set a tab-index, etc.

This PR also updates the documentation to present that functionality

Result
attributes set in accessibility are propagated to the correct button (as shown in test/npm-lib/index.html)

Copy link
Contributor

@raphi raphi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@JonathanMontane JonathanMontane merged commit 41cbd09 into master Oct 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] tabindex on clear button
2 participants