Ver Fonte

Update the reference link.

Naotoshi Fujita há 2 anos atrás
pai
commit
65a23a677e
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/js/components/Pagination/Pagination.ts

+ 1 - 3
src/js/components/Pagination/Pagination.ts

@@ -184,8 +184,6 @@ export function Pagination(
    * Called when the user clicks each pagination dot.
    * Moves the focus to the active slide for accessibility.
    *
-   * @link https://www.w3.org/WAI/tutorials/carousels/functionality/
-   *
    * @param page - A clicked page index.
    */
   function onClick( page: number ): void {
@@ -195,7 +193,7 @@ export function Pagination(
   /**
    * Called when any key is pressed on the pagination.
    *
-   * @link https://www.w3.org/TR/2021/NOTE-wai-aria-practices-1.2-20211129/#keyboard-interaction-21
+   * @link https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/#keyboard-interaction-21
    *
    * @param page - A page index.
    * @param e    - A KeyboardEvent object.