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

Make the image decorative #7926

Merged
merged 3 commits into from
Aug 3, 2023
Merged

Make the image decorative #7926

merged 3 commits into from
Aug 3, 2023

Conversation

mgifford
Copy link
Contributor

@mgifford mgifford commented Aug 2, 2023

Changes

  • This just makes the background icon clearly decorative

Testing

Just need to see that aria-hidden="true" focusable="false" was added to the SVG file in the page.

Docs

Should have no impacts on behavior. Just implementing a best practice to ensure that images are clearly marked as decorative.

@changeset-bot
Copy link

changeset-bot bot commented Aug 2, 2023

⚠️ No Changeset found

Latest commit: 3fa67fa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

@github-actions github-actions bot added the pkg: example Related to an example package (scope) label Aug 2, 2023
@mgifford mgifford mentioned this pull request Aug 2, 2023
1 task
@natemoo-re natemoo-re linked an issue Aug 2, 2023 that may be closed by this pull request
1 task
Copy link
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

Thanks so much, this is great!

examples/basics/src/pages/index.astro Outdated Show resolved Hide resolved
@natemoo-re natemoo-re merged commit b636b4a into withastro:main Aug 3, 2023
14 checks passed
ematipico pushed a commit that referenced this pull request Aug 4, 2023
* Make the image decorative

* Update examples/basics/src/pages/index.astro

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: example Related to an example package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A better SVG Image
2 participants