Skip to content

Commit 04fad00

Browse files
committed
Update project to v3.3.0 with Incluud branding and latest dependencies
- Upgrade Astro and Tailwind dependencies - Update package.json with new version, author, and keywords - Refresh README with new branding, badges, and expanded project information - Update components to use latest accessible-astro-components - Add new documentation links and project mission statement - Modify Header, Hero, and Accessible Components pages with updated links
1 parent b75df9d commit 04fad00

File tree

7 files changed

+142
-48
lines changed

7 files changed

+142
-48
lines changed

README.md

Lines changed: 55 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
# Accessible Astro Starter
22

3+
[![Built with Astro](https://astro.badg.es/v2/built-with-astro/small.svg)](https://astro.build)
4+
35
![accessible-astro-starter](https://github.com/user-attachments/assets/f3538452-5d57-4118-b713-4631dd51bd84)
46

5-
Accessible Astro Starter is a ready to use, SEO and a11y friendly blogging theme. It contains plenty of accessible components to build several page types, Tailwind CSS to help you build faster and example pages such as a dynamic Blog, 404, Markdown and MDX. This theme is designed to help you build your project faster and provide a solid base for accessibility!
7+
A ready-to-use, SEO and accessibility-focused Astro starter template. Built with modern web standards and WCAG guidelines in mind, it provides a solid foundation for creating inclusive websites. Features Tailwind CSS integration, comprehensive component library, and example pages including a dynamic blog, 404, and MDX support.
8+
9+
[![LIVE DEMO](https://img.shields.io/badge/LIVE_DEMO-4ECCA3?style=for-the-badge&logo=astro&logoColor=black)](https://accessible-astro.netlify.app//)  
10+
[![DOCUMENTATION](https://img.shields.io/badge/DOCUMENTATION-A682FF?style=for-the-badge&logo=astro&logoColor=black)](https://accessible-astro.incluud.dev/)  
11+
[![Follow on X](https://img.shields.io/badge/X-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/incluud)  
12+
[![Follow on BlueSky](https://img.shields.io/badge/BlueSky-0285FF?style=for-the-badge&logo=bluesky&logoColor=white)](https://bsky.app/profile/incluud.dev)  
13+
[![Sponsor on Open Collective](https://img.shields.io/badge/Open%20Collective-7FADF2?style=for-the-badge&logo=opencollective&logoColor=white)](https://opencollective.com/incluud)  
14+
[![Sponsor on GitHub](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=EA4AAA)](https://github.com/sponsors/incluud)
15+
16+
## Our mission
617

7-
🚀 [Live Preview](https://accessible-astro.netlify.app/)
18+
> Provide developers with accessible, easy-to-use components that make building inclusive web applications simpler and faster, without compromising on customization or performance.
819
9-
## (Accessibility) Features
20+
## (Accessibility) Features
1021

11-
- Astro 5.0
22+
- Astro 5+
1223
- Tailwind CSS support
1324
- Prettier integration with `prettier-plugin-astro` and `prettier-plugin-tailwind`
1425
- ESLint integration with strict accessibility settings for `eslint-plugin-jsx-a11y`
@@ -31,9 +42,9 @@ Accessible Astro Starter is a ready to use, SEO and a11y friendly blogging theme
3142
- `prefers-reduced-motion` disables animations for users that have this preference turned on
3243
- Ships with many components such as Accordions, Breadcrumbs, Modals, Pagination [and many more](https://accessible-astro.dev/accessible-components)
3344
- A collection of utility classes such as breakpoints, button classes, font settings, resets and outlines in `src/assets/scss/base`
34-
- View Transitions (⚠️ see [astro-docs](https://docs.astro.build/en/guides/view-transitions/#accessibility) for accessibility considerations)
45+
- Astro's View Transitions
3546

36-
## 🚀 Getting started
47+
## Getting started
3748

3849
Clone this theme locally and run any of the following commands in your terminal:
3950

@@ -44,22 +55,48 @@ Clone this theme locally and run any of the following commands in your terminal:
4455
| `npm run build` | Build your production site to `./dist/` |
4556
| `npm run preview` | Preview your build locally, before deploying |
4657

47-
## 📦 Other Accessible Astro projects
58+
## Accessible Astro projects
59+
60+
- [Accessible Astro Starter](https://github.com/incluud/accessible-astro-starter): Fully accessible starter for kickstarting Astro projects, with Tailwind.
61+
- [Accessible Astro Components](https://github.com/incluud/accessible-astro-components/): Library of reusable, accessible components build for Astro.
62+
- [Accessible Astro Dashboard](https://github.com/incluud/accessible-astro-dashboard/): User-friendly dashboard interface with a login screen and widgets.
63+
- [Accessible Astro Docs](https://github.com/incluud/accessible-astro-docs): Comprehensive documentation for all Accessible Astro projects.
64+
65+
Check out our [roadmap](https://github.com/orgs/incluud/projects/4/views/1) to see what's coming next!
66+
67+
## Contributing
68+
69+
We welcome contributions to improve the documentation! You can help by:
70+
71+
1. [Filing an issue](https://github.com/incluud/accessible-astro-starter/issues)
72+
2. [Submitting a pull request](https://github.com/incluud/accessible-astro-starter/pulls)
73+
3. [Starting a discussion](https://github.com/incluud/accessible-astro-starter/discussions)
74+
4. [Supporting on Open Collective](https://opencollective.com/incluud)
75+
76+
## Support this project
77+
78+
Your support helps us cover basic costs and continue building accessible solutions for the Astro ecosystem. By becoming a sponsor, you're not just supporting code – you're helping create a more inclusive web for everyone. Every contribution, big or small, helps maintain and improve these accessibility-focused tools.
79+
80+
[![Sponsor on Open Collective](https://img.shields.io/badge/Open%20Collective-7FADF2?style=for-the-badge&logo=opencollective&logoColor=white)](https://opencollective.com/incluud)
81+
82+
## Together we make a difference
4883

49-
- [Accessible Astro Dashboard](https://github.com/markteekman/accessible-astro-dashboard/)
50-
- [Accessible Astro Components](https://github.com/markteekman/accessible-astro-components/)
84+
We want to express our heartfelt gratitude to everyone who contributes to making the web more accessible:
5185

52-
## ❤️ Helping out
86+
<a href="https://github.com/incluud/accessible-astro-starter/graphs/contributors">
87+
<img src="https://contrib.rocks/image?repo=incluud/accessible-astro-starter" />
88+
</a>
5389

54-
If you find that something isn't working right then I'm always happy to hear it to improve this starter! You can contribute in many ways and forms. Let me know by either:
90+
- **The Astro team** for creating an amazing static site generator and the wonderful Starlight theme
91+
- **Our contributors** who dedicate their time and expertise to improve these tools
92+
- **Our sponsors** who help make this project sustainable
93+
- **The web community** for embracing and promoting web accessibility
94+
- **You, the developer** for choosing to make your projects more accessible
5595

56-
1. [Filing an issue](https://github.com/markteekman/accessible-astro-starter/issues)
57-
2. [Submitting a pull request](https://github.com/markteekman/accessible-astro-starter/pulls)
58-
3. [Starting a discussion](https://github.com/markteekman/accessible-astro-starter/discussions)
59-
4. [Buying me a coffee!](https://www.buymeacoffee.com/markteekman)
96+
Together, we're not just building documentation or components – we're creating a more inclusive and accessible web for everyone. Every contribution, whether it's code, documentation, bug reports, or feedback, helps move us closer to this goal. ✨
6097

61-
## Thank you!
98+
Remember: Accessibility is not a feature, it's a fundamental right. Thank you for being part of this journey!
6299

63-
A big thank you to the creators of the awesome Astro static site generator and to all using this starter to make the web a bit more accessible for all people around the world :)
100+
## The story behind Accessible Astro
64101

65-
[![buymeacoffee-button](https://user-images.githubusercontent.com/3909046/150683481-be070424-7bb0-4dd7-a3cb-43b5605163f5.png)](https://www.buymeacoffee.com/markteekman)
102+
Accessible Astro started as a personal project by [Mark Teekman](https://github.com/markteekman) in 2021 when Astro was in its early stages, born from a passion for web accessibility and the Astro framework. What began as a single starter template grew into a family of accessible solutions, leading to the creation of [Incluud](https://github.com/incluud), an initiative with [Peter Padberg](https://github.com/peterpadberg) to make the web more inclusive. Today, these projects continue to grow and evolve with the help of our amazing community, staying true to their original purpose: making web accessibility easier for developers and better for everyone.

package.json

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,45 @@
11
{
22
"name": "accessible-astro-starter",
33
"description": "An Accessible Starter Theme for Astro including several accessibility features and tools to help you build faster.",
4-
"version": "3.2.5",
5-
"author": "Mark Teekman",
4+
"version": "3.3.0",
5+
"author": "Incluud",
6+
"license": "MIT",
67
"homepage": "https://accessible-astro.netlify.app/",
78
"scripts": {
89
"dev": "astro dev",
910
"start": "astro dev",
1011
"build": "astro build",
1112
"preview": "astro preview"
1213
},
14+
"keywords": [
15+
"astro",
16+
"astro-component",
17+
"astro-components",
18+
"accessible",
19+
"accessibility",
20+
"a11y",
21+
"wcag",
22+
"responsive",
23+
"ui-library",
24+
"ui-components",
25+
"blog"
26+
],
27+
"repository": {
28+
"type": "git",
29+
"url": "git+https://github.com/incluud/accessible-astro-starter.git"
30+
},
31+
"bugs": {
32+
"url": "https://github.com/incluud/accessible-astro-starter/issues"
33+
},
1334
"devDependencies": {
14-
"@astrojs/mdx": "^4.0.3",
35+
"@astrojs/mdx": "^4.0.8",
1536
"@astrojs/partytown": "^2.1.3",
16-
"@astrojs/tailwind": "^5.1.4",
37+
"@astrojs/tailwind": "^6.0.0",
1738
"@iconify-json/ion": "^1.2.1",
1839
"@iconify-json/mdi": "^1.2.1",
1940
"@typescript-eslint/eslint-plugin": "^6.21.0",
2041
"@typescript-eslint/parser": "^6.21.0",
21-
"astro": "^5.1.3",
42+
"astro": "^5.3.0",
2243
"astro-compress": "^2.3.5",
2344
"astro-icon": "^1.1.4",
2445
"eslint": "^8.57.0",
@@ -32,6 +53,6 @@
3253
"tailwindcss": "^3.4.15"
3354
},
3455
"dependencies": {
35-
"accessible-astro-components": "^3.0.1"
56+
"accessible-astro-components": "^4.0.1"
3657
}
3758
}

src/components/Header.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
import Navigation from '../components/Navigation.astro'
3-
import { SkipLinks } from 'accessible-astro-components'
3+
import { SkipLink } from 'accessible-astro-components'
44
import { Icon } from 'astro-icon/components'
55
---
66

77
<header>
8-
<SkipLinks />
8+
<SkipLink />
99
<Navigation>
1010
<li class="menu-item">
1111
<a href="/">Home</a>
@@ -28,7 +28,7 @@ import { Icon } from 'astro-icon/components'
2828
</ul>
2929
</li>
3030
<li class="menu-item">
31-
<a href="#" title="external link" rel="external noopener noreferrer">External Link</a>
31+
<a href="https://accessible-astro.incluud.dev/" rel="external">Docs</a>
3232
</li>
3333
<li class="menu-item type-icon">
3434
<a href="https://github.com/markteekman/accessible-astro-starter" title="Go to the GitHub page">

src/components/Hero.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,11 @@ const { src = '/astronaut-hero-img.webp' } = Astro.props
1212
<slot><span class="text-gradient">Accessible</span> Starter for Astro</slot>
1313
</h1>
1414
<div class="flex flex-col gap-3 min-[500px]:flex-row">
15-
<a class="button has-icon" href="https://github.com/markteekman/accessible-astro-starter">
15+
<a class="button has-icon" href="https://github.com/incluud/accessible-astro-starter">
1616
<Icon name="ion:star-outline" />
1717
Star on GitHub
1818
</a>
19-
<a
20-
class="button has-icon color-secondary"
21-
href="https://github.com/markteekman/accessible-astro-starter/blob/main/README.md"
22-
>
19+
<a class="button has-icon color-secondary" href="https://accessible-astro.incluud.dev/">
2320
<Icon name="ion:bookmark-outline" />
2421
Read the Docs
2522
</a>

src/components/Navigation.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,9 @@ import logo from '../assets/img/logo.svg'
388388
padding: 0;
389389
border: none;
390390

391-
svg {
392-
width: 30px;
391+
.icon {
392+
inline-size: 30px;
393+
block-size: 30px;
393394
margin-top: 4px;
394395
}
395396

@@ -398,6 +399,8 @@ import logo from '../assets/img/logo.svg'
398399
}
399400

400401
&:hover {
402+
box-shadow: none;
403+
401404
svg path {
402405
fill: var(--action-color-state);
403406
}

src/pages/accessible-components.astro

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
TabsList,
1616
TabsTab,
1717
TabsPanel,
18+
Video,
1819
} from 'accessible-astro-components'
1920
---
2021

@@ -25,15 +26,16 @@ import {
2526
<p class="text-2xl">
2627
This theme has a lot of extra a11y components provided by the <a
2728
href="https://github.com/markteekman/accessible-astro-components">Accessible Astro Components</a
28-
> NPM package to help you build accessible pages faster:
29+
> NPM package to help you build accessible pages faster. To learn more about the components and how to use them,
30+
checkout our <a href="https://accessible-astro.incluud.dev/">documentation website</a>.
2931
</p>
3032
</div>
3133
</section>
3234
<section class="mb-12 mt-32">
3335
<div class="container">
3436
<div class="grid grid-cols-1 gap-32 md:grid-cols-2">
3537
<div class="space-content">
36-
<h2>Accordion (normal)</h2>
38+
<h2>Accordion (default)</h2>
3739
<Accordion>
3840
<AccordionItem title="First Item">
3941
<p>
@@ -74,38 +76,38 @@ import {
7476
</Accordion>
7577
</div>
7678
<div class="space-content">
77-
<h2>Accordion (exclusive)</h2>
79+
<h2>Accordion (chevron)</h2>
7880
<Accordion>
79-
<AccordionItem name="exclusive" title="First Item">
81+
<AccordionItem name="exclusive" title="First Item" variant="chevron">
8082
<p>
8183
Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto quasi nobis optio? Qui in quo
8284
accusantium debitis <a href="#">sapiente obcaecati</a> magnam incidunt sit. Molestiae exercitationem quibusdam
8385
quod veritatis laboriosam est tenetur.
8486
</p>
8587
<a href="#">Tab to me!</a>
8688
</AccordionItem>
87-
<AccordionItem name="exclusive" title="Second Item">
89+
<AccordionItem name="exclusive" title="Second Item" variant="chevron">
8890
<p>
8991
Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto quasi nobis optio? Qui in quo
9092
accusantium debitis sapiente obcaecati magnam incidunt sit. Molestiae exercitationem quibusdam quod
9193
veritatis laboriosam est tenetur.
9294
</p>
9395
</AccordionItem>
94-
<AccordionItem name="exclusive" title="Third Item">
96+
<AccordionItem name="exclusive" title="Third Item" variant="chevron">
9597
<p>
9698
Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto quasi nobis optio? Qui in quo
9799
accusantium debitis sapiente obcaecati magnam incidunt sit. Molestiae exercitationem quibusdam quod
98100
veritatis laboriosam est tenetur.
99101
</p>
100102
</AccordionItem>
101-
<AccordionItem name="exclusive" title="Fourth Item">
103+
<AccordionItem name="exclusive" title="Fourth Item" variant="chevron">
102104
<p>
103105
Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto quasi nobis optio? Qui in quo
104106
accusantium debitis sapiente obcaecati magnam incidunt sit. Molestiae exercitationem quibusdam quod
105107
veritatis laboriosam est tenetur.
106108
</p>
107109
</AccordionItem>
108-
<AccordionItem name="exclusive" title="Fifth Item">
110+
<AccordionItem name="exclusive" title="Fifth Item" variant="chevron">
109111
<p>
110112
Lorem ipsum dolor sit amet consectetur adipisicing elit. Architecto quasi nobis optio? Qui in quo
111113
accusantium debitis sapiente obcaecati magnam incidunt sit. Molestiae exercitationem quibusdam quod
@@ -121,6 +123,26 @@ import {
121123
<BreadcrumbsItem href="/blog" label="Blog" />
122124
<BreadcrumbsItem currentPage={true} label="My blog post" />
123125
</Breadcrumbs>
126+
<Breadcrumbs>
127+
<BreadcrumbsItem href="/" label="Home" hasIcon>
128+
<Icon name="ion:home" slot="icon" />
129+
</BreadcrumbsItem>
130+
<BreadcrumbsItem href="/docs" label="Documentation" />
131+
<BreadcrumbsItem label="Breadcrumbs" currentPage={true} />
132+
</Breadcrumbs>
133+
<Breadcrumbs>
134+
<BreadcrumbsItem href="/" label="Home">
135+
<span slot="separator" class="separator" aria-hidden="true">
136+
<Icon name="ion:chevron-forward-outline" />
137+
</span>
138+
</BreadcrumbsItem>
139+
<BreadcrumbsItem href="/docs" label="Documentation">
140+
<span slot="separator" class="separator" aria-hidden="true">
141+
<Icon name="ion:chevron-forward-outline" />
142+
</span>
143+
</BreadcrumbsItem>
144+
<BreadcrumbsItem label="Breadcrumbs" currentPage={true} />
145+
</Breadcrumbs>
124146
</div>
125147
<div class="space-content">
126148
<h2>Cards</h2>
@@ -157,26 +179,26 @@ import {
157179
<div class="space-content">
158180
<h2>Notification</h2>
159181
<Notification>
160-
<Icon name="ion:notifications-outline" /><p><strong>Message:</strong> This is a notification!</p>
182+
<Icon name="ion:notifications-outline" size="24" /><p><strong>Message:</strong> This is a notification!</p>
161183
</Notification>
162184
<Notification role="status" type="info">
163-
<Icon name="ion:information-circle-outline" /><p>
185+
<Icon name="ion:information-circle-outline" size="24" /><p>
164186
<strong>Info:</strong> This is a notification of type info.
165187
</p>
166188
</Notification>
167189
<Notification role="status" type="success">
168-
<Icon name="ion:checkbox-outline" /><p>
190+
<Icon name="ion:checkbox-outline" size="24" /><p>
169191
<strong>Success:</strong> This is a notification of type success.
170192
</p>
171193
</Notification>
172194
<Notification role="status" type="warning">
173-
<Icon name="ion:warning-outline" /><p>
195+
<Icon name="ion:warning-outline" size="24" /><p>
174196
<strong>Warning:</strong> This is a notification of type warning and goes on multiple lines to see how that
175197
looks.
176198
</p>
177199
</Notification>
178200
<Notification role="alert" type="error">
179-
<Icon name="ion:alert-circle-outline" /><p>
201+
<Icon name="ion:alert-circle-outline" size="24" /><p>
180202
<strong>Error:</strong> This is a notification of type error.
181203
</p>
182204
</Notification>
@@ -248,4 +270,18 @@ import {
248270
</div>
249271
</div>
250272
</section>
273+
<section class="mb-12 mt-32">
274+
<div class="container">
275+
<div class="grid grid-cols-1 gap-32 md:grid-cols-2">
276+
<div class="space-content">
277+
<h2>Video (default)</h2>
278+
<Video src="https://www.youtube.com/watch?v=j8K-ESJF814" title="Video" />
279+
</div>
280+
<div class="space-content">
281+
<h2>Video (aspect ratio)</h2>
282+
<Video src="https://www.youtube.com/watch?v=j8K-ESJF814" title="Video" ratio="1:1" />
283+
</div>
284+
</div>
285+
</div>
286+
</section>
251287
</DefaultLayout>

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ import { Accordion, AccordionItem } from 'accessible-astro-components'
7272
</div>
7373
<div class="space-content">
7474
<Accordion>
75-
<AccordionItem name="exclusive" title="What is WCAG and why is it important?">
75+
<AccordionItem name="exclusive" title="What is WCAG and why is it important?" open>
7676
<p>
7777
WCAG (Web Content Accessibility Guidelines) is a set of internationally recognized standards for web
7878
accessibility. Following WCAG ensures your website is usable by people with various disabilities,

0 commit comments

Comments
 (0)