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

[Accessibility] Hovertext for image descriptions is insufficient #8237

Open
Cassolotl opened this Issue Aug 17, 2018 · 10 comments

Comments

Projects
None yet
8 participants
@Cassolotl
Copy link

Cassolotl commented Aug 17, 2018

image descriptions should be made available in the same formatting as the text of posts.

on-hover is not good enough, not everyone who needs an image description uses a screen reader and not everyone who needs an image description can read hover text.

Source


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
@Fidgetcetera

This comment has been minimized.

Copy link

Fidgetcetera commented Jan 4, 2019

we'll expand on this idea a bit since sometimes when we point the issue out people ask us for details, but basically - hover text is hard to invidually style for people who need custom stylings for their browser (for example, overriding fonts, making text larger, etc. hover text is also very difficult (almost impossible?) to view without a mouse.

a potential nice way to handle this could be a "view image description(s)" button underneath a post, that can be optional (if turned off, the image descriptions just are written beneath the images). ideally the image description text would be very similar to the post's general text (same font and size and everything).

@hughrun

This comment has been minimized.

Copy link

hughrun commented Jan 4, 2019

This seems like a pretty reasonable request to me, just wondering about implementation - I wouldn't want to see this become "image description is always visible to all users".

@Fidgetcetera what do you mean by 'beneath'? Do you mean on a new line below the image, or rendered on a layer below the image so it's not visible?

Is the proposal that the button would basically be a toggle to show the description in place of the image? Could it (additionally?) be a user setting so that they always see the description by default rather than the image?

@LogicalDash

This comment has been minimized.

Copy link
Contributor

LogicalDash commented Jan 4, 2019

When you click an image, currently, you get a modal with the image displayed at full size. How about simply displaying the image description there as well?

@Fidgetcetera

This comment has been minimized.

Copy link

Fidgetcetera commented Jan 4, 2019

@hughrun
"rather than" is not a great idea, since for some people they can see the image, but cannot make out or discern all the details, and would prefer to see both at the same time. we meant on a new line, beneath image(s). we aren't really UI designers here, so we're not sure if the best way would be placed beneath each individual image of multi-image posts, or just at the end of the post after the images, or what.

@Fidgetcetera

This comment has been minimized.

Copy link

Fidgetcetera commented Jan 4, 2019

@LogicalDash that might be a bit better, but an option to view it just alongside the normal post text would also be great.

@hughrun

This comment has been minimized.

Copy link

hughrun commented Jan 4, 2019

Multi-image posts can (should) have a different description for each image, so it would either need to be a description under each image or multiple descriptions at the end of the post something like
Image 1: tabby cat

Image 2: black cat

@ryliejamesthomas

This comment has been minimized.

Copy link

ryliejamesthomas commented Jan 4, 2019

FWIW in the Android client I use (Subway Tooter) the descriptions are always shown under the image sand it really isn't intrusive, and in fact a good reminder to add them, and a good way of normalising the practice.

@trwnh

This comment has been minimized.

Copy link
Contributor

trwnh commented Jan 5, 2019

Tumblr also showed image descriptions in their lightbox. Mastodon should consider doing the same.

@Kansattica

This comment has been minimized.

Copy link

Kansattica commented Jan 8, 2019

As I noted in the pull request, it'd be fairly easy to have the alt text appear under the image in the lightbox. The PR shouldn't be merged as- someone who understands the code better should have the image scale down to make room for the alt text.

@ryliejamesthomas

This comment has been minimized.

Copy link

ryliejamesthomas commented Jan 10, 2019

It seems a bit odd to me that people should have to click on an image before they have an idea of what it is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment