Skip to content

Commit 014f83e

Browse files
committed
chore: support aria link
1 parent 2f2ce7d commit 014f83e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/site/src/app/components/route/component/Route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function AppRoute(props: AppRouteProps): JSX.Element | null {
6060
<li>
6161
<a
6262
className="app-component-route__tag-link"
63-
href={`https://www.w3.org/WAI/ARIA/apg/patterns/${aria}/`}
63+
href={aria.startsWith('http') ? aria : `https://www.w3.org/WAI/ARIA/apg/patterns/${aria}/`}
6464
target="_blank"
6565
rel="noreferrer"
6666
>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
group: Data Display
33
title: Slides
4+
aria: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions
45
---
56

67
## API

0 commit comments

Comments
 (0)