Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/Toast.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)"]');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/react/collection/src/ordered-dictionary.ts
Original file line number Diff line number Diff line change
@@ -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<OrderedDict<any, any>, boolean>();
export class OrderedDict<K, V> extends Map<K, V> {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/dialog/src/dialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/react/dismissable-layer/src/dismissable-layer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down