psu-libraries / scholarsphere-3

A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)
Apache License 2.0
78 stars 24 forks source link

Requirements icons do not read in screen reader need alt text #640

Closed mtribone closed 7 years ago

mtribone commented 7 years ago

The check and x icons should have alt text to indicate to screen readers that they still have stuff to do.

carolyncole commented 7 years ago

We need to change the java script to show hide actual icons and not after items in css. The icons need alt text or real text so they are read.

mtribone commented 7 years ago

@awead My thought was to hook onto the checks here: https://github.com/projecthydra/sufia/blob/7.2-migration/app/assets/javascripts/sufia/save_work/save_work_control.es6#L107

and inserting some text like: https://github.com/psu-stewardship/scholarsphere/blob/8b603196665da8e7a0db769b8a1169d80b06f54a/app/assets/javascripts/scholarsphere/viz_widget.js