Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update internal link in usage page #55

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/components/Link.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import type { HTMLAttributes } from "astro/types";

interface Props extends HTMLAttributes<"a"> {
href: `/${string}/` | "/";
href: "/" | `/${string}/` | `/${string}/#${string}`;
}

const { href, ...rest } = Astro.props;
Expand Down
5 changes: 2 additions & 3 deletions docs/src/pages/guides/usage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,8 @@ import Link from "../../components/Link.astro";
is open or closed. Additionally, it might be helpful to communicate when a range
selection has started and ended via a polite <code>aria-live</code> region. This
could be achieved with the <code>rangestart</code> and <code>rangeend</code>
<a href="http://localhost:4321/cally/components/calendar-range/#events"
>events</a
>. We could also add a hint to the input via <code>aria-describedby</code> to
<Link href="/components/calendar-range/#events">events</Link>.
We could also add a hint to the input via <code>aria-describedby</code> to
describe the expected format for manual entry.
</p>

Expand Down