textField - a11y label improvements#3883
Merged
Conversation
…seMemo hook usage
lidord-wix
reviewed
Dec 23, 2025
Collaborator
lidord-wix
left a comment
There was a problem hiding this comment.
Added some comments
BTW, the decision of the reading order is made by the UX?
Co-authored-by: Lidor Dafna <66782556+lidord-wix@users.noreply.github.com>
Collaborator
Author
that was discussed with Alexey and Naama and that's what Alexey said in the end |
Collaborator
Author
|
I've created a PR that wraps this public with i18n I'm assuming this current PR would need to be pushed first. |
lidord-wix
approved these changes
Dec 31, 2025
Collaborator
lidord-wix
left a comment
There was a problem hiding this comment.
Approved with a small comment, once fixed - feel free to merge
| return parts.join(', '); | ||
| }, [label, context.isMandatory, helperText, placeholder, showCharCounter, others.maxLength]); | ||
|
|
||
| const accessibilityLabel = props.accessibilityLabel ?? defaultAccessibilityLabel; |
Collaborator
There was a problem hiding this comment.
you can extract the prop like all other props instead of using props.
M-i-k-e-l
added a commit
that referenced
this pull request
Jan 12, 2026
This reverts commit 190a01a.
M-i-k-e-l
added a commit
that referenced
this pull request
Jan 12, 2026
M-i-k-e-l
added a commit
that referenced
this pull request
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
textField - added better handling of textField a11y label. Added unification of all different parts of the component (Label, helperText, charCounter), ordered by a11y guidelines given.
Changelog
textField - a11y label fix.
Additional info
Ticket 4797