Skip to content

Commit

Permalink
adjust text and export
Browse files Browse the repository at this point in the history
  • Loading branch information
nedredmond committed Jan 14, 2024
1 parent d22430a commit bb6cb17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ const router = (data: WcagResponseData) =>
<Text>
Add the spec to the URL like so: <code>/#/wcag2/1</code> to go to the
first principal, or <code>/#/wcag2/1/1/1</code> to go to the first
success criterion. <br /> You can also use the names of principles,
guidelines, and criteria, like so:
<code> /#/wcag2/robust/compatible/name-role-value</code>
success criterion.
<br /> <br />
You can also use the names of principles, guidelines, and criteria,
like so: <code>/#/wcag2/robust/compatible/name-role-value</code>
</Text>
),
},
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
}
Expand Down

0 comments on commit bb6cb17

Please sign in to comment.