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/TextField - Refactored TextField accessibility props logic #730

Merged
merged 4 commits into from
Apr 7, 2020

Conversation

ArnonZ
Copy link
Contributor

@ArnonZ ArnonZ commented Apr 1, 2020

  • Refactored TextField accessibility props logic

Copy link
Collaborator

@ethanshar ethanshar left a comment

Choose a reason for hiding this comment

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

@ArnonZ
What the purpose of this whole PR?
can you link me the ticket..
it looks like some of the changes are will bring back issues we've already resolved.

src/components/inputs/TextField.js Show resolved Hide resolved
src/components/inputs/TextField.js Show resolved Hide resolved
src/components/inputs/TextField.js Show resolved Hide resolved
Comment on lines 227 to 229
if (expandable) {
accessibilityLabel = `${accessibilityLabel || ''}. ${value || ''}`;
accessibilityLabel = `${accessibilityLabel}`;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't that become redundant ?
We're basically assigning a const to its own value..

Copy link
Collaborator

Choose a reason for hiding this comment

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

@ethanshar ethanshar merged commit 33d149a into master Apr 7, 2020
@ArnonZ ArnonZ deleted the fix/accss_TextField branch September 21, 2020 08:28
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.

None yet

2 participants