diff --git a/packages/terra-form-field/CHANGELOG.md b/packages/terra-form-field/CHANGELOG.md index 97b7b865bb7..40d56dfd9e0 100644 --- a/packages/terra-form-field/CHANGELOG.md +++ b/packages/terra-form-field/CHANGELOG.md @@ -7,6 +7,9 @@ * Set the isLabelHidden prop to be private * Set an asterisk denoting required field to be aria-hidden +* Removed + * Removed aria-live attribute from error message. + ## 4.20.5 - (July 5, 2022) * Changed diff --git a/packages/terra-form-field/src/Field.jsx b/packages/terra-form-field/src/Field.jsx index 94a621aaaf7..ce3c7c523ed 100644 --- a/packages/terra-form-field/src/Field.jsx +++ b/packages/terra-form-field/src/Field.jsx @@ -202,7 +202,7 @@ const Field = (props) => {
{labelGroup} {content} - {isInvalid && error &&
{error}
} + {isInvalid && error &&
{error}
} {help &&
{help}
}
); diff --git a/packages/terra-form-field/tests/jest/__snapshots__/Field.test.jsx.snap b/packages/terra-form-field/tests/jest/__snapshots__/Field.test.jsx.snap index 344597db205..3089204a814 100644 --- a/packages/terra-form-field/tests/jest/__snapshots__/Field.test.jsx.snap +++ b/packages/terra-form-field/tests/jest/__snapshots__/Field.test.jsx.snap @@ -271,7 +271,6 @@ exports[`should render a field in error 1`] = `
@@ -668,7 +667,6 @@ exports[`should render a field with a hidden label in error 1`] = `
@@ -827,7 +825,6 @@ exports[`should render a required field in error 1`] = `
@@ -1266,7 +1263,6 @@ exports[`should render a required field with a hidden label in error 1`] = `
@@ -2349,7 +2345,6 @@ exports[`should render an optional field in error 1`] = `