Skip to content

Conversation

@yotam-wix
Copy link
Collaborator

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

MADS-4797

@yotam-wix yotam-wix requested review from lidord-wix and removed request for lidord-wix December 22, 2025 09:12
Copy link
Collaborator

@lidord-wix lidord-wix left a comment

Choose a reason for hiding this comment

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

Added some comments
BTW, the decision of the reading order is made by the UX?

npmPreapprovedPackages: ["@wix/*"]

yarnPath: .yarn/releases/yarn-4.12.0.cjs
yarnPath: .yarn/releases/yarn-4.12.0.cjs
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
yarnPath: .yarn/releases/yarn-4.12.0.cjs
yarnPath: .yarn/releases/yarn-4.12.0.cjs

Comment on lines +156 to +158
} else if (placeholder) {
parts.push(placeholder);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have we decided to include the placeholder? it can also be some weird example..

parts.push(`you can enter up to ${others.maxLength} characters`);
}

return parts.join(', ');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like it will work, for English :)
What about other languages?

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.

3 participants