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

Accessibility updates #555

Merged
merged 8 commits into from
Dec 7, 2023
Merged

Accessibility updates #555

merged 8 commits into from
Dec 7, 2023

Conversation

… causes accessbility issues when an h1 is present after the h2, replace at with aria-label instead. For #539.
<a href="/gallery-images#modal-{{ id }}" class="sr-only" target="_blank">View the gallery in a new window.</a>
<a class="gallery__link" data-lightbox-open="midd-lightbox-1" aria-label="Open gallery" aria-describedby="midd-gallery-1-label midd-gallery-1-count" role="button">
<a
href="/"
Copy link
Member

Choose a reason for hiding this comment

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

On this, can we retain the unique URLs for viewing the page of the gallery images at /gallery-images#modal-{{ id }}? I worry that linking to the homepage isn't contextually relevant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I had reverted back to the old code which had href="/" but I meant for it to be the link to the gallery images page.

@imcbride imcbride merged commit 3fea959 into master Dec 7, 2023
6 checks passed
@poojagunturu96 poojagunturu96 deleted the a11y-updates branch June 17, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment