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

**Fix:** Chip a11y #991

Merged
merged 3 commits into from
Apr 24, 2019
Merged

**Fix:** Chip a11y #991

merged 3 commits into from
Apr 24, 2019

Conversation

TejasQ
Copy link
Contributor

@TejasQ TejasQ commented Apr 24, 2019

Fixes #990 and adds a11y superpowers to Chip.

lalala

@TejasQ TejasQ self-assigned this Apr 24, 2019
@TejasQ TejasQ marked this pull request as ready for review April 24, 2019 08:05
@TejasQ TejasQ requested review from fabien0102 and mpotomin April 24, 2019 08:12
Copy link
Contributor

@fabien0102 fabien0102 left a comment

Choose a reason for hiding this comment

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

Looks good, just a little comment

@@ -17,58 +18,90 @@ export interface ChipProps extends DefaultProps {
children: React.ReactNode
}

const height = 20
Copy link
Contributor

Choose a reason for hiding this comment

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

Why? The theme value was not good enough for you? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

theme.space for height is an anti-pattern

@TejasQ TejasQ merged commit c611bc7 into master Apr 24, 2019
@TejasQ TejasQ deleted the fix-#990-chip-a11y branch April 24, 2019 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chips update on hover even if unclickable
2 participants