diff --git a/.changeset/sixty-olives-glow.md b/.changeset/sixty-olives-glow.md new file mode 100644 index 00000000000..223a7fbb300 --- /dev/null +++ b/.changeset/sixty-olives-glow.md @@ -0,0 +1,5 @@ +--- +'@primer/react': patch +--- + +Remove `aria-busy` from `ProgressBar` component diff --git a/packages/react/src/ProgressBar/ProgressBar.tsx b/packages/react/src/ProgressBar/ProgressBar.tsx index 3e189af2011..409f8ff58dc 100644 --- a/packages/react/src/ProgressBar/ProgressBar.tsx +++ b/packages/react/src/ProgressBar/ProgressBar.tsx @@ -82,7 +82,6 @@ export const ProgressBar = forwardRef( 'aria-valuenow': progressAsNumber ? Math.round(progressAsNumber) : undefined, 'aria-valuemin': 0, 'aria-valuemax': 100, - 'aria-busy': progressAsNumber ? progressAsNumber !== 100 : false, } return ( diff --git a/packages/react/src/__tests__/__snapshots__/ProgressBar.test.tsx.snap b/packages/react/src/__tests__/__snapshots__/ProgressBar.test.tsx.snap index 17059fefba9..df65e057b10 100644 --- a/packages/react/src/__tests__/__snapshots__/ProgressBar.test.tsx.snap +++ b/packages/react/src/__tests__/__snapshots__/ProgressBar.test.tsx.snap @@ -34,7 +34,6 @@ exports[`ProgressBar respects the "progress" prop 1`] = ` }