Skip to content
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] alt text for custom emojis #9269

Open
annando opened this issue Nov 12, 2018 · 3 comments
Open

[accessibility] alt text for custom emojis #9269

annando opened this issue Nov 12, 2018 · 3 comments
Labels
suggestion Feature suggestion

Comments

@annando
Copy link

annando commented Nov 12, 2018

Pitch

The custom emojis that are solved as pictures should have the option to enter an alternate text for screen readers.

Motivation

From the perspective of the accessibility the custom emojis are currently a nightmare since only the shortcode is displayed as alternate text. Having some description would help visually impaired persons that rely on screen readers.

@ZoeBijl
Copy link

ZoeBijl commented Nov 1, 2019

This is a good idea.

@hibiyasleep
Copy link

we could utilize iTXt field of png file (idk on gif but there's should be) for this feature, for

  • easy i18n of alt text
  • seamless implementation?
  • convenience emoji copying

and/or some more reason.

@arielsbecker
Copy link

So, as far as I can tell, we need to modify these two:

  • app/models/custom_emoji.rb
  • db/schema.rb

by adding a new string field on the first one to store a screenreader text. Alternatively, it can be an index pointing to an ancillary table that stores all the i18n strings for that particular emoji, but since it applies only to custom emojis (which are mostly valid on a single instance), this might introduce too many complexities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

5 participants