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

fix(a11y): Add meaningful alt text to image viewer #1349

Merged
merged 4 commits into from
Apr 7, 2021

Conversation

tille
Copy link
Contributor

@tille tille commented Apr 7, 2021

  • Adds alt attribute to preview images in order to be a11y compliant.

@tille tille requested a review from a team as a code owner April 7, 2021 02:45
src/lib/viewers/image/ImageViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/image/ImageViewer.js Outdated Show resolved Hide resolved
src/lib/viewers/image/__tests__/ImageViewer-test.js Outdated Show resolved Hide resolved
@jstoffan
Copy link
Collaborator

jstoffan commented Apr 7, 2021

@tille, can we change the commit name to fix(a11y): Add meaningful alt text to image viewer? Thanks!

@tille tille changed the title fix(ImageViewer): Fix preview-images with no alt attribute (A11Y) fix(a11y): Add meaningful alt text to image viewer Apr 7, 2021
jstoffan
jstoffan previously approved these changes Apr 7, 2021
Copy link
Collaborator

@jstoffan jstoffan left a comment

Choose a reason for hiding this comment

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

Minor suggestions, but otherwise LGTM.

src/lib/viewers/image/__tests__/ImageViewer-test.js Outdated Show resolved Hide resolved
src/lib/viewers/image/ImageViewer.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@jstoffan jstoffan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the submission, @tille!

@tille
Copy link
Contributor Author

tille commented Apr 7, 2021

@jstoffan thanks for review it,
does it have auto merge with mergeQ? or do we need someone to manually merge it?

@jstoffan
Copy link
Collaborator

jstoffan commented Apr 7, 2021

I can merge it for you. If you'll be submitting more PRs, we can look into adding you as a collaborator. Thanks again!

@jstoffan jstoffan merged commit fc9c662 into box:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants