diff --git a/components/button/src/button/__tests__/Button.test.js b/components/button/src/button/__tests__/Button.test.js index 79cb840137..b36146c492 100644 --- a/components/button/src/button/__tests__/Button.test.js +++ b/components/button/src/button/__tests__/Button.test.js @@ -35,7 +35,7 @@ describe(') expect(consoleSpy).toHaveBeenCalledWith( - 'Button component has no children but is missing title or ariaLabel attribute.' + 'Button component has no children but is missing title and ariaLabel attribute.' ) }) diff --git a/components/button/src/button/button.js b/components/button/src/button/button.js index 89095a5c44..7f27d98223 100644 --- a/components/button/src/button/button.js +++ b/components/button/src/button/button.js @@ -41,7 +41,7 @@ export const Button = ({ if (!children && !title && !ariaLabel) { console.debug( - 'Button component has no children but is missing title or ariaLabel attribute.' + 'Button component has no children but is missing title and ariaLabel attribute.' ) }