aria-at
aria-at copied to clipboard
`npm run update-reference` is out of date
Running npm run update-reference <directory> now gives the following results:
message if v1 version of pattern currently exists
$> npm run update-reference banner
> [email protected] update-reference
> node scripts/update-reference.js banner
Cloning the aria-practice repo.
Locating the matching example file /path/to/aria-at/scripts/tmp/examples/landmarks/banner.html.
The example html '/path/to/aria-at/scripts/tmp/examples/landmarks/banner.html' does not exist. Please enure the current example html utl is in the references.csv file.
message if v2 version of pattern currently exists
$> npm run update-reference alert
> [email protected] update-reference
> node scripts/update-reference.js alert
`example` must be defined in references.csv with the format `https://w3c.github.io/aria-practices/examples/<PATH_TO_EXAMPLE>.html`
The script references the old Respec deploy for the APG site. So it has to be revised to reference examples from the new WAI Website and current w3c/aria-practices repo structure, and also account for the new v2 folder/files structure where applicable.
This was raised in the May 22, 2024 CG meeting.