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

Adjustable (increased) character limit for alt text #2689

Open
SleepyCatten opened this issue Apr 2, 2024 · 1 comment · May be fixed by #2737
Open

Adjustable (increased) character limit for alt text #2689

SleepyCatten opened this issue Apr 2, 2024 · 1 comment · May be fixed by #2737

Comments

@SleepyCatten
Copy link

Pitch

Glitch has an adjustable character limit for posts, but the limit for alt text seems to be baked in at 1,500 characters. Whilst this might sound like a lot, it actually often isn't enough to provide a full transcription for audio or for the text on images, which is an accessibility issue. I've had to break up images or audio clips into several ones sometimes in order to be able to provide full descriptive text. It is only 50% higher than the very restrictive alt text limit on Twitter and seems to be rather arbitrary, rather than something required.

Motivation

It will help with accessibility, as it will make it possible to describe images with text in full. It will also further set glitch-soc from Mastodon, which has refused to address the character or alt text limits here:
mastodon#24147

@Ember-ruby
Copy link

as an addition, only two values need to be changed

<CharacterCounter max={1500} text={detecting ? '' : description} />

MAX_DESCRIPTION_LENGTH = 1_500

an environment variable could probably be implemented like for toot chars

maxChars: state.getIn(['server', 'server', 'configuration', 'statuses', 'max_characters'], 500),

<CharacterCounter max={maxChars} text={this.getFulltextForCharacterCounting()} />

@nullishamy nullishamy linked a pull request Jun 9, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants