samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
184 stars 124 forks source link

Accessibility: search results thumbnails have no alt-text #6891

Open eporter23 opened 1 month ago

eporter23 commented 1 month ago

Descriptive summary

When using the WAVE plugin for Chrome browser, WAVE reports errors due to thumbnail images in search results having no alt text. This was tested as part of the Sirenia docker image testing, but is probably not related to Sirenia specifically.

Steps to reproduce the behavior in User Interface (UI)

  1. Ensure that you have the WAVE plugin for Chrome
  2. Load the search results page
  3. Review the page in the WAVE report
  4. Note that errors are shown for any thumbnails displayed next to results

Actual behavior (include screenshots if available)

Hyrax 5.0.1 (main) - Sirenia docker image

"Linked image missing alternative text An image without alternative text results in an empty link."

Screenshot 2024-08-16 at 9 52 29 AM

Acceptance Criteria/Expected Behavior

Rationale (for feature request only)

Provide the rationale or user story that describes "why" this issue should be addressed. Especially if this is a new feature or significant change to the existing implementation.

Related work

Link to related issues or prior related work here.