Update dependency @uswds/uswds to v3.2.0 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@uswds/uswds | 3.1.0 -> 3.2.0 |
Release Notes
uswds/uswds
v3.2.0
What's new in USWDS 3.2.0
This release contains markup changes and potentially breaking changes. A
Package updates
usa-alert
Updated the alignment of the Alert and Site alert component content to visually match alignment with banner content. (#4922)
usa-banner
We made a number of small changes to the banner to improve how screen readers read its content. None of these changes are breaking chances, but they are all improvements teams should make to their banner component. (#4925)
aria-label
in English versions of usa-banner. When read out on a screen reader, the statement "An official website of the United States government" can sound like "Unofficial website of the United States government". To minimize confusion, we updated the component's aria-label
to instead read "Official website of the United States government". Thanks @AmandaD-USDS! (#4925)
- <section class="usa-banner" aria-label="Official government website">
+ <section class="usa-banner" aria-label="Official website of the United States government">
- <div class="grid-col-fill tablet:grid-col-auto">
+ <div class="grid-col-fill tablet:grid-col-auto" aria-hidden="true">
<p class="usa-banner__header-text">An official website of the United States government</p>
- <p class="usa-banner__header-action" aria-hidden="true">Here’s how you know</p>
+ <p class="usa-banner__header-action">Here’s how you know</p>
aria-hidden
attribute to the flag icon in the banner component. The flag icon in the banner component is purely decorative and we can safely remove it from the screen reader readout. (#4925)
- <img class="usa-banner__header-flag" src="[your flag path]" alt="U.S. flag">
+ <img class="usa-banner__header-flag" aria-hidden="true" src="[your flag path]" alt="">
aria-labelledby
in the lock SVG to streamline screenreader vocalization. (#4925)
- <svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" class="usa-banner__lock-image" role="img" aria-labelledby="banner-lock-title banner-lock-description" focusable="false">
+ <svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" class="usa-banner__lock-image" role="img" aria-labelledby="banner-lock-description" focusable="false">
- <desc id="banner-lock-description">A locked padlock</desc>
+ <desc id="banner-lock-description">Locked padlock</desc>
usa-character-count
Improved screen reader experience. The character counter now includes a brief pause after input before announcing how many characters remain. Announcing the input no longer prevents the character counter from reading. Thanks @davidc-gds! (#4976)
usa-icon
Fixed potential incompatibility with ARM-based Macs. We updated our SVG sprite compiler. This should resolve potential dependency incompatibilities on computers with ARM processors. (#4665)
usa-identifier
section
instead of a div
so it's aria-label
will apply to a valid element. (#4964)
- <div class="usa-identifier__identity" aria-label="Agency identifier">
+ <section class="usa-identifier__identity" aria-label="Agency identifier">
...
- </div>
+ </section>
usa-site-alert
Updated the alignment of the Alert and Site alert component content to visually match alignment with banner content. (#4922)
usa-tooltip
Tooltip allows for dynamic initialization. Tooltip now initializes on first interaction and checks if it has been initialized before toggling. If it hasn't initialized properly then it will call a setup attributes function. (#4955)
usa-validation
Updated the validation component so that users of assistive technologies can receive status updates about the completion of each validation requirement. This was done by adding a script that generates appropriate ARIA attributes. (#4914)
Dependency updates
Dependency | Old | New
--- | --- | ---
@storybook/addon-a11y
| 6.5.5 | 6.5.12
@storybook/addon-essentials
| 6.5.5 | 6.5.12
@storybook/addon-links
| 6.5.5 | 6.5.12
@storybook/builder-webpack5
| 6.5.5 | 6.5.12
@storybook/html
| 6.5.5 | 6.5.12
@storybook/manager-webpack5
| 6.5.5 | 6.5.12
gulp-svg-sprite
| 1.5.0 | REMOVED
gulp-svgstore
| — | 9.0.0
handlebars-helpers
| 0.10.0 | 0.9.8
react-dom
| — | 17.0.2
sass
| 1.45.2 | REMOVED
sass-embedded
| — | 1.53.0
snyk
| 1.817.0 | 1.966.0
stylelint
| 14.1.0 | 14.13.0
0
vulnerabilities in regular dependencies (dependencies for USWDS projects installed with npm install uswds
)
Internal only: 26 high
vulnerabilities in devDependencies (development dependencies)
Release TGZ SHA-256 hash: 2cf071fe6af1d337c0a2bfe3fd930ea9396dae1130b7e3a7bafbfafb98e2492f
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.