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

feat: add visually hidden text for some components #1016

Merged
merged 6 commits into from
Oct 2, 2020
Merged

Conversation

im36-123
Copy link
Contributor

@im36-123 im36-123 commented Sep 23, 2020

Related URL

Overview

Some components --Button, Tooltip, Calendar, Pagination are has icon only button. The icon only button have no context for assistive technology such as screen reader.

So I added visually hidden text for component that needed.

What I did

  • Add visuallyHiddenText props for Icon component.
  • Change to use visuallyHiddenText props.

Capture

@reg-suit
Copy link

reg-suit bot commented Sep 23, 2020

✨✨ That's perfect, there is no visual difference! ✨✨

Check out the report here.

@netlify
Copy link

netlify bot commented Sep 23, 2020

Deploy preview for smarthr-ui ready!

Built with commit 4ae4887

https://deploy-preview-1016--smarthr-ui.netlify.app

@im36-123 im36-123 marked this pull request as ready for review September 25, 2020 03:12
@im36-123 im36-123 requested a review from a team as a code owner September 25, 2020 03:12
@im36-123 im36-123 requested review from diescake and zoshigayan and removed request for a team September 25, 2020 03:12
Copy link
Contributor

@wmoai wmoai left a comment

Choose a reason for hiding this comment

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

LGTM!

@im36-123 im36-123 merged commit 39c85c7 into master Oct 2, 2020
@im36-123 im36-123 deleted the SHRUI-149 branch October 2, 2020 06:30
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.

2 participants