From bb6cb17a29ebb750f7b5cd300aadf3d33637acdc Mon Sep 17 00:00:00 2001 From: Ned Redmond Date: Sat, 13 Jan 2024 23:07:51 -0500 Subject: [PATCH] adjust text and export --- src/router.tsx | 7 ++++--- src/types.ts | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/router.tsx b/src/router.tsx index b75b96c..80c82ce 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -13,9 +13,10 @@ const router = (data: WcagResponseData) => Add the spec to the URL like so: /#/wcag2/1 to go to the first principal, or /#/wcag2/1/1/1 to go to the first - success criterion.
You can also use the names of principles, - guidelines, and criteria, like so: - /#/wcag2/robust/compatible/name-role-value + success criterion. +

+ You can also use the names of principles, guidelines, and criteria, + like so: /#/wcag2/robust/compatible/name-role-value
), }, diff --git a/src/types.ts b/src/types.ts index 0355453..2d60c13 100644 --- a/src/types.ts +++ b/src/types.ts @@ -3,7 +3,7 @@ export const pathAliases = [ "num", // i.e., 1 (for Principle) or 1.1 (for Guideline) or 1.1.1 (for Success Criterion) ] as const; -type WcagItem = Record<(typeof pathAliases)[number], string>; +export type WcagItem = Record<(typeof pathAliases)[number], string>; interface Principle { guidelines: GuidelineType[]; }