🧹 update partials to use alt tags per accessibility audit #1966
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Story
This ticket was to confirm that the user can set the alt text and that it is used in the html. We discovered that some of the settable alt text options are not being used in the html and updated the ones that were. Alt Text Tool: https://chrome.google.com/webstore/detail/alt-text-tester/koldhcllpbdfcdpfpbldbicbgddglodk
directory_image_text is not being used in a view: https://github.com/search?q=repo%3Asamvera%2Fhyku+directory_image_text&type=code
default_collection_image_text is not being used in a view: https://github.com/search?q=repo%3Asamvera%2Fhyku%20default_collection_image_text&type=code
default_work_image_text is not being used in a view: https://github.com/search?q=repo%3Asamvera%2Fhyku+default_work_image_text&type=code
Expected Behavior Before Changes
Alt text was not present in the inspect element. Using an alt text extension tool also confirmed this.
Expected Behavior After Changes