diff --git a/packages/@headlessui-react/src/components/combobox/combobox.tsx b/packages/@headlessui-react/src/components/combobox/combobox.tsx index 1d3c962..256b408 100644 --- a/packages/@headlessui-react/src/components/combobox/combobox.tsx +++ b/packages/@headlessui-react/src/components/combobox/combobox.tsx @@ -786,7 +786,7 @@ let Input = forwardRefWithAs(function Input< let handleKeyDown = useEvent((event: ReactKeyboardEvent) => { isTyping.current = true switch (event.key) { - // Ref: https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-12 + // Ref: https://www.w3.org/WAI/ARIA/apg/patterns/menu/#keyboard-interaction-12 case Keys.Backspace: case Keys.Delete: @@ -993,7 +993,7 @@ let Button = forwardRefWithAs(function Button) => { switch (event.key) { - // Ref: https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-12 + // Ref: https://www.w3.org/WAI/ARIA/apg/patterns/menu/#keyboard-interaction-12 case Keys.ArrowDown: event.preventDefault() diff --git a/packages/@headlessui-react/src/components/dialog/dialog.tsx b/packages/@headlessui-react/src/components/dialog/dialog.tsx index 4db3b4b..927ce0b 100644 --- a/packages/@headlessui-react/src/components/dialog/dialog.tsx +++ b/packages/@headlessui-react/src/components/dialog/dialog.tsx @@ -1,4 +1,4 @@ -// WAI-ARIA: https://www.w3.org/TR/wai-aria-practices-1.2/#dialog_modal +// WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/dialogmodal/ import React, { createContext, createRef, diff --git a/packages/@headlessui-react/src/components/disclosure/disclosure.tsx b/packages/@headlessui-react/src/components/disclosure/disclosure.tsx index 221175f..9229121 100644 --- a/packages/@headlessui-react/src/components/disclosure/disclosure.tsx +++ b/packages/@headlessui-react/src/components/disclosure/disclosure.tsx @@ -1,4 +1,4 @@ -// WAI-ARIA: https://www.w3.org/TR/wai-aria-practices-1.2/#disclosure +// WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ import React, { Fragment, createContext, diff --git a/packages/@headlessui-react/src/components/listbox/listbox.tsx b/packages/@headlessui-react/src/components/listbox/listbox.tsx index 86ee5e4..bae2046 100644 --- a/packages/@headlessui-react/src/components/listbox/listbox.tsx +++ b/packages/@headlessui-react/src/components/listbox/listbox.tsx @@ -602,7 +602,7 @@ let Button = forwardRefWithAs(function Button) => { switch (event.key) { - // Ref: https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-13 + // Ref: https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/#keyboard-interaction-13 case Keys.Space: case Keys.Enter: @@ -775,7 +775,7 @@ let Options = forwardRefWithAs(function Options< searchDisposables.dispose() switch (event.key) { - // Ref: https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-12 + // Ref: https://www.w3.org/WAI/ARIA/apg/patterns/menu/#keyboard-interaction-12 // @ts-expect-error Fallthrough is expected here case Keys.Space: diff --git a/packages/@headlessui-react/src/components/menu/menu.tsx b/packages/@headlessui-react/src/components/menu/menu.tsx index bf89d68..578f22c 100644 --- a/packages/@headlessui-react/src/components/menu/menu.tsx +++ b/packages/@headlessui-react/src/components/menu/menu.tsx @@ -1,4 +1,4 @@ -// WAI-ARIA: https://www.w3.org/TR/wai-aria-practices-1.2/#menubutton +// WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/ import React, { Fragment, createContext, @@ -320,7 +320,7 @@ let Button = forwardRefWithAs(function Button) => { switch (event.key) { - // Ref: https://www.w3.org/TR/wai-aria-practices-1.2/#keyboard-interaction-13 + // Ref: https://www.w3.org/WAI/ARIA/apg/patterns/menubutton/#keyboard-interaction-13 case Keys.Space: case Keys.Enter: @@ -451,7 +451,7 @@ let Items = forwardRefWithAs(function Items