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

Implement new a11y audits for the Dev Toolbar app #9170

Merged
merged 26 commits into from
Dec 4, 2023

Conversation

natemoo-re
Copy link
Member

@natemoo-re natemoo-re commented Nov 22, 2023

Changes

  • Implements an initial suite of in-browser accessibility audits for the Dev Toolbar
  • Huge thanks to the Svelte team for providing the basis of this implementation. Astro's audit logic is adapted from the Svelte repository, specifically the a11y.js file. This code is licensed under the MIT License per Svelte's LICENSE. Astro's LICENSE has been updated to reflect this.

Testing

Tested manually for now

Docs

It would be great to have our own reference for all of these audits, but Svelte's Accessibility Warnings reference is a good stand-in for now.

Copy link

changeset-bot bot commented Nov 22, 2023

🦋 Changeset detected

Latest commit: 27d0388

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Nov 22, 2023
Base automatically changed from feat/dev-overlay-main-screen-redesign to next November 28, 2023 14:39
@Princesseuh Princesseuh force-pushed the feat/dev-overlay-audits branch from aa628c6 to 45290ab Compare November 30, 2023 13:00
Base automatically changed from next to main November 30, 2023 15:03
Copy link
Contributor

github-actions bot commented Nov 30, 2023

⚖️ Bundle Size Check

Latest commit: 27d0388

File Old Size New Size Change
dev-overlay/entrypoint 86.77 KB 245.07 KB + 158.3 KB
dev-overlay/plugins/audit/a11y 0 B 157.84 KB + 157.84 KB
dev-overlay/plugins/audit/index 0 B 162.42 KB + 162.42 KB
dev-overlay/ui-library/tooltip 32.73 KB 32.73 KB 0 B

@natemoo-re natemoo-re force-pushed the feat/dev-overlay-audits branch from 68a9b07 to 4892c28 Compare December 1, 2023 18:33
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You weren't kidding about doing my work for me, @Princesseuh -- I took a peek before you went through these, and they are phenomenal now!

Just some tiny thoughts, and I thought you mentioned looking even at the todo ones, but they do still seem in TODO form, so I started pointing things out, then just mentioned when I thought they would need some attention

@natemoo-re natemoo-re force-pushed the feat/dev-overlay-audits branch from 23b368b to 39bf864 Compare December 1, 2023 21:33
@github-actions github-actions bot added the pr: docs A PR that includes documentation for review label Dec 1, 2023
@natemoo-re natemoo-re marked this pull request as ready for review December 1, 2023 23:22
@natemoo-re natemoo-re changed the title Implement a11y audits for the dev overlay Implement new a11y audits for the Dev Toolbar app Dec 1, 2023

The audits Astro performs are non-exhaustive and only intended to catch a handful of common accessibility issues. Please take care to perform a thorough accessibility audit before releasing your website.

🧡 Huge thanks to the [Svelte](https://github.com/sveltejs/svelte) team for providing the basis of these accessibility audits!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@natemoo-re natemoo-re merged commit 8a228fc into main Dec 4, 2023
13 of 14 checks passed
@natemoo-re natemoo-re deleted the feat/dev-overlay-audits branch December 4, 2023 17:16
This was referenced Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants