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

USWDS-Site - Changelog: Add entry for validation & text input #2497

Merged
merged 4 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion _components/text-input/guidance/usability.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
- **Consider the mobile context.** Text inputs are among the easiest type of input for desktop users but are more difficult for mobile users.
- **Wait to validate.** Only show error validation messages or stylings after a user has interacted with a particular field.
- **Avoid placeholder text.** Avoid using placeholder text that appears within a text field before a user starts typing. If placeholder text is no longer visible after a user clicks into the field, users will no longer have that text available when they need to review their entries. (People who have cognitive or visual disabilities have additional problems with placeholder text.)
.
10 changes: 10 additions & 0 deletions _data/changelogs/component-text-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ type: component
changelogURL:

items:
- date: NNNN-NN-NN
summary: Added `textarea` support to the validation component.
summaryAdditional:
isBreaking: false
affectsJavascript: true
affectsMarkup: true
affectsStyles:
githubPr: 5233
githubRepo: uswds
versionUswds: 3.8.0
- date: 2023-11-16
summary: Updated the listed values for `.usa-input--[width]`.
affectsGuidance: true
Expand Down
9 changes: 9 additions & 0 deletions _data/changelogs/component-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ title: Validation
type: component
changelogURL:
items:
- date: NNNN-NN-NN
summary: Added `textarea` support to the validation component.
isBreaking: false
affectsAccessibility: false
affectsJavascript: true
affectsMarkup: true
githubPr: 5233
githubRepo: uswds
versionUswds: 3.8.0
- date: 2022-12-21
summary: Clarified implementation guidance and removed the `#` from the example `data-validation-element` value.
summaryAdditional:
Expand Down