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

[Request] Add alt text to image outputs from /sitelenpona #41

Open
stella-sf opened this issue Oct 13, 2024 · 1 comment
Open

[Request] Add alt text to image outputs from /sitelenpona #41

stella-sf opened this issue Oct 13, 2024 · 1 comment

Comments

@stella-sf
Copy link

At a minimum, the bot would simply add the command input text into the Alt field for all images. I would prefer if it was controlled by an optional boolean argument to the command, so it can be turned off, for example in case you want to have a conversation purely in sitelen pona without anyone "cheating" by reading the alt text. I am unsure whether this argument should default to True or False.

On a higher level of functionality, the bot may remove certain formatting characters from the text to make it easier to read and better for screenreaders as well. This would be a rather complex task especially when considering that different fonts use different systems for their formatting, so this may not be feasible.

Other features that could be added to this include automatically converting UCSUR characters into Latin alphabet text (should be fairly simple with a lookup table), or converting cartouche formatting into readily readable sitelen Lasina names (significantly harder and maybe impossible).

@gregdan3
Copy link
Member

https://github.com/lipu-linku/ilo/blob/main/src%2Filo%2Fcogs%2Fsitelen%2Fcog.py#L208

We do implement this already, at least the simple version where we copy the user's input. It just doesn't work. IIRC when I examined the command response, the alt text wasn't being sent; pycord bug maybe?

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

No branches or pull requests

2 participants