Center-for-Digital-Narrative / elmcip

Electronic Literature as a Model of Creativity and Innovation in Practice (ELMCIP) is a collaborative research project funded by Humanities in the European Research Area (HERA) JRP for Creativity and Innovation built in Drupal
https://elmcip.net
4 stars 0 forks source link

Update image field help text and make sure alt text is required #425

Open hannahackermans opened 5 years ago

hannahackermans commented 5 years ago

The KB includes many media for which an ALT TEXT is required but many media do not have an alt text at the moment, making it inaccessibly to screen readers.

Currently, the field help text for alt text is:

Alternative text is used by screen readers, search engines, and when the image cannot be loaded. By adding alt text you improve accessibility and search engine optimization.

I suggest to change this to this text to encourage people to fill in the field and give them suggestions for how to do it:

Alternative text is used by screen readers, search engines, and when the image cannot be loaded. Adding alt text is required by the EU to improve accessibility and search engine optimization. General advice is to indicate the nature of the media first (i.e. screenshot, book cover, screen capture video, etc) and then shortly describe the content.

(I put by the EU is in italics because I am not sure if it is the EU or a more specific organ that requires the alt text.)

I also vote for making alt text a required field, perhaps with a short explanation in the error indicating that this is anew requirement and is therefore popping up when editing records created by other people. all in all I don't think it would cost them that much extra time. Screenshot 2019-06-18 10 53 01

@steinmb Is the alt text one field that shows up in different places, or are they different fields in different places? Should I go through the website and collect all the alt text fields?

This issue is related to #352 which also addresses the accessibility of the Knowledge Base

steinmb commented 4 years ago

@steinmb Is the alt text one field that shows up in different places, or are they different fields in different places? Should I go through the website and collect all the alt text fields?

+1 for the issue. I have to have a look at how the alt text is stored. Since ELMCIP have been through many iterations there could be currently more than one way the data is stored, though normally only one way it get rendered to the client meaning we might expose media that have ALT text stored but it still not output when we create the HTML. This issue will req. some digging to make sure we get them all though but mostly it is manual labor.

https://www.deque.com/blog/great-alt-text-introduction/ https://en.wikipedia.org/wiki/Alt_attribute

steinmb commented 4 years ago

We could whip up a quick view of images and then provide at link to media. That will speed up the work a lot:

Example:

2019-09-09 12-52-40 2019-09-09 12_54_20

elmcip commented 4 years ago

There's also something weird going on when you upload images. You enter the title, alt info first before you upload:

Screenshot 2019-09-25 14 49 13

But when you are back in the entry screen, the data has not come over to the relevant fields

Screenshot 2019-09-25 14 49 55

And then there's that note about it not being picked up by all formatters.

steinmb commented 3 years ago

Going to re-test this.

steinmb commented 3 years ago

Verified that there is a UX thingy with the title and alt properties. Split @elmcip finding out in a separate issue since it is kind of unrelated to this. Postponding and moving this on issue #458