Skip to content
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
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @formio/uswds

## 2.9.3

### Patch Changes

- 9fc1624: FIO-12003: fixed Wizard page error list announcement in USWDS templates
- Updated dependencies [edd6949]
- Updated dependencies [b35ca79]
- Updated dependencies [f1c7ae2]
- Updated dependencies [e3851de]
- Updated dependencies [19617b9]
- Updated dependencies [22325f8]
- Updated dependencies [d96cc58]
- Updated dependencies [2d41328]
- @formio/js@5.6.0

## 2.9.3-api910.1

### Patch Changes

- Updated dependencies [22325f8]
- @formio/js@5.6.0-api910.1

## 2.9.3-api910.0

### Patch Changes

- 9fc1624: FIO-12003: fixed Wizard page error list announcement in USWDS templates
- Updated dependencies [edd6949]
- Updated dependencies [b35ca79]
- Updated dependencies [f1c7ae2]
- Updated dependencies [e3851de]
- Updated dependencies [19617b9]
- Updated dependencies [d96cc58]
- Updated dependencies [2d41328]
- @formio/js@5.6.0-api910.0

## 2.9.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/uswds",
"version": "2.9.2",
"version": "2.9.3",
"description": "US Web Design System templates for form.io",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -34,10 +34,10 @@
"Standards"
],
"peerDependencies": {
"@formio/js": "^5.5.2"
"@formio/js": "^5.6.0"
},
"devDependencies": {
"@formio/js": "^5.5.2",
"@formio/js": "^5.6.0",
"@types/chai": "^4.2.22",
"@types/ejs": "^3.1.0",
"@types/mocha": "^9.0.0",
Expand Down
13 changes: 6 additions & 7 deletions src/templates/uswds/errorsList/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
<ul>
{% ctx.errors.forEach(function(err) { %}
<li>
<span
data-component-key = "{{err.keyOrPath}}"
ref = "errorRef"
tabIndex = "0"
role="link"
>
<span data-component-key="{{err.keyOrPath}}" ref="errorRef" tabIndex="0" role="link">
{{err.message}}
{% if (err.errorPageTitle) { %}
<span class="usa-sr-only">. Click to navigate to the component within {{ err.errorPageTitle }} </span>
{% } else { %}
<span class="usa-sr-only">. {{ctx.t('errorsListNavigationMessage')}}</span>
{% } %}
</span>
<span class="usa-sr-only">{{ctx.t('errorsListNavigationMessage')}}</span>
</li>
{% }) %}
</ul>
Expand Down
Loading