diff --git a/.changeset/mighty-pears-deny.md b/.changeset/mighty-pears-deny.md new file mode 100644 index 00000000000..8976b00d125 --- /dev/null +++ b/.changeset/mighty-pears-deny.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +TextInput: Remove redundant `aria-label` attribute from `TextInput.Action` when it already has an `aria-labelledby`. diff --git a/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap index ccae5e08073..eac498de8a1 100644 --- a/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap +++ b/packages/react/src/__tests__/__snapshots__/TextInput.test.tsx.snap @@ -2177,7 +2177,6 @@ exports[`TextInput renders trailingAction icon button 1`] = ` className="c3 TextInput-action" >