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 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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.)
.
15 changes: 15 additions & 0 deletions _data/changelogs/component-text-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ type: component
changelogURL:

items:
- date: NNNN-NN-NN
summary: Textarea supports validation.
amyleadem marked this conversation as resolved.
Show resolved Hide resolved
summaryAdditional:
isBreaking: false
affectsAccessibility:
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript: true
affectsMarkup: true
affectsSettings: 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
14 changes: 14 additions & 0 deletions _data/changelogs/component-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ title: Validation
type: component
changelogURL:
items:
- date: NNNN-NN-NN
summary: Validation support added to textarea.
amyleadem marked this conversation as resolved.
Show resolved Hide resolved
isBreaking: false
affectsAccessibility: false
affectsAssets:
affectsContent:
affectsGuidance:
affectsJavascript: true
affectsMarkup: true
affectsSettings: true
affectsStyles:
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