Skip to content

Commit

Permalink
Merge pull request #2497 from uswds/jm-changelog-validation-text-input
Browse files Browse the repository at this point in the history
USWDS-Site - Changelog: Add entry for validation & text input
  • Loading branch information
amyleadem committed Mar 1, 2024
2 parents 78cf901 + f32e5fa commit 4ce3d63
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
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

2 comments on commit 4ce3d63

@Miskeyceh94
Copy link

@Miskeyceh94 Miskeyceh94 commented on 4ce3d63 Mar 3, 2024

Choose a reason for hiding this comment

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

[Spam content removed.]

@thisisdano
Copy link
Member

Choose a reason for hiding this comment

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

Hi there @Miskeyceh94. We consider this comment off-topic and will treat it as spam. We will block you as a user of this repo if you continue.

From the USWDS community page:

By voluntarily participating in a USWDS community, you are agreeing to abide by the Digital.gov Community Guidelines and the TTS Code of Conduct. Respect your peers, use plain language, be patient, practice constructive criticism, and stay organized.

Please sign in to comment.