diff --git a/cypress/e2e/Toast.cy.ts b/cypress/e2e/Toast.cy.ts index d1af094b0..b9917d1a0 100644 --- a/cypress/e2e/Toast.cy.ts +++ b/cypress/e2e/Toast.cy.ts @@ -29,7 +29,7 @@ describe('Toast', () => { cy.findByText('Add toast').click(); }); - it('should have no acessibility issues', () => { + it('should have no accessibility issues', () => { cy.injectAxe(); cy.checkA11y('[aria-label="Notifications (F8)"]'); }); diff --git a/packages/react/collection/src/ordered-dictionary.ts b/packages/react/collection/src/ordered-dictionary.ts index c77afe2da..2c2df58be 100644 --- a/packages/react/collection/src/ordered-dictionary.ts +++ b/packages/react/collection/src/ordered-dictionary.ts @@ -1,5 +1,5 @@ // Not a real member because it shouldn't be accessible, but the super class -// calls `set` which needs to read the instanciation state, so it can't be a +// calls `set` which needs to read the instantiation state, so it can't be a // private member. const __instanciated = new WeakMap, boolean>(); export class OrderedDict extends Map { diff --git a/packages/react/dialog/src/dialog.test.tsx b/packages/react/dialog/src/dialog.test.tsx index 7e2fe0b9c..bc96504f7 100644 --- a/packages/react/dialog/src/dialog.test.tsx +++ b/packages/react/dialog/src/dialog.test.tsx @@ -56,7 +56,7 @@ describe('given a default Dialog', () => { let consoleErrorMockFunction: Mock; beforeEach(() => { - // This surpresses React error boundary logs for testing intentionally + // This suppresses React error boundary logs for testing intentionally // thrown errors, like in some test cases in this suite. See discussion of // this here: https://github.com/facebook/react/issues/11098 consoleWarnMockFunction = vi.fn(); diff --git a/packages/react/dismissable-layer/src/dismissable-layer.tsx b/packages/react/dismissable-layer/src/dismissable-layer.tsx index 9869f9199..de1abe5be 100644 --- a/packages/react/dismissable-layer/src/dismissable-layer.tsx +++ b/packages/react/dismissable-layer/src/dismissable-layer.tsx @@ -243,7 +243,7 @@ function usePointerDownOutside( /** * On touch devices, we need to wait for a click event because browsers implement * a ~350ms delay between the time the user stops touching the display and when the - * browser executres events. We need to ensure we don't reactivate pointer-events within + * browser executes events. We need to ensure we don't reactivate pointer-events within * this timeframe otherwise the browser may execute events that should have been prevented. * * Additionally, this also lets us deal automatically with cancellations when a click event diff --git a/packages/react/password-toggle-field/src/password-toggle-field.tsx b/packages/react/password-toggle-field/src/password-toggle-field.tsx index 8d3477795..74bd399b7 100644 --- a/packages/react/password-toggle-field/src/password-toggle-field.tsx +++ b/packages/react/password-toggle-field/src/password-toggle-field.tsx @@ -333,7 +333,7 @@ const PasswordToggleFieldToggle = React.forwardRef< // wait a tick so that focus has settled, then restore select position requestAnimationFrame(() => { // make sure the input still has focus (developer may have - // programatically moved focus elsewhere) + // programmatically moved focus elsewhere) if (input.ownerDocument.activeElement === input) { input.selectionStart = selectionStart; input.selectionEnd = selectionEnd;