Page 1 of 1

[Request] Specify alt text when using IMG in dispatches

PostPosted: Wed Jul 29, 2020 4:05 pm
by The Northern Light
Hi,

Would it be possible to add an option to specify alt text when inserting images using the IMG bbcode? I am primarily interested in having this option in dispatches (which I think is the only gameside place where IMG works), but it would also be helpful on the forum.

The reason for this is that, very often images are used as structural elements, e.g., to separate or highlight sections of a dispatch. It is not rare for section titles themselves are inserted in dispatches using images, to achieve specific aesthetic effects. Unfortunately, these images are not parsed by screen readers, making their content inaccessible for users that rely on screen readers to access the site. Users that, for one reason or another (e.g., low bandwidth, or privacy concerns, or even simply focusing issues), disable image downloads will also run into the same problem.

Alt text is commonly used in web design to alleviate these issues. Unfortunately, NS does not provide a way to specify alt text. Providing this option could be done by allowing users to provide an optional argument to the IMG BBcode, e.g.,

Code: Select all
[IMG=alt: ALT TEXT]IMG_URL[/IMG]

Making the argument optional is to avoid breaking backwards compatibility, given the thousands of IMG uses in existing dispatches.

Thank you in advance!

PostPosted: Wed Jul 29, 2020 4:55 pm
by Bormiar
Seems like a long-overdue feature.

PostPosted: Mon Aug 03, 2020 8:43 pm
by Praeceps
This would be very much appreciated!

PostPosted: Fri Aug 14, 2020 10:42 am
by The Northern Light
I'd like to bump this request back to the first page.

PostPosted: Fri Aug 14, 2020 11:26 am
by Sebero Sree
Yep! Its surprising that this isn't a preexisting feature.

PostPosted: Fri Aug 14, 2020 11:29 am
by -Astoria-
I like this idea.

PostPosted: Fri Aug 14, 2020 6:49 pm
by Mathuvan Union
-Astoria- wrote:I like this idea.

Ditto. Though it’d Be nice if you could centre images…

PostPosted: Fri Aug 14, 2020 9:40 pm
by Merni
Mathuvan Union wrote:
-Astoria- wrote:I like this idea.

Ditto. Though it’d Be nice if you could centre images…

You can already do that by enclosing an image in [ align=center ] and [ /align ] tags.

PostPosted: Sat Aug 15, 2020 2:47 am
by -Astoria-
Mathuvan Union wrote:
-Astoria- wrote:I like this idea.

Ditto. Though it’d Be nice if you could centre images…
Just do [align=center].

PostPosted: Sat Aug 15, 2020 6:52 am
by Mathuvan Union
-Astoria- wrote:
Mathuvan Union wrote:Ditto. Though it’d Be nice if you could centre images…
Just do [align=center].

I have tried… doesn’t work for me.
Idk. This ain’t that to thread but I’d like alt text images.

PostPosted: Sat Aug 15, 2020 12:03 pm
by Harmonic Empire
Mathuvan Union wrote:I have tried… doesn’t work for me.
Idk. This ain’t that to thread but I’d like alt text images.

Image
Image
Image

Code: Select all
[align=left][img]https://www.mariowiki.com/images/4/4f/SMM-SMB-WeirdMario.png[/img][/align][align=center][img]https://www.mariowiki.com/images/4/4f/SMM-SMB-WeirdMario.png[/img][/align][align=right][img]https://www.mariowiki.com/images/4/4f/SMM-SMB-WeirdMario.png[/img][/align]

PostPosted: Sat Aug 29, 2020 8:31 pm
by The Northern Light
Hi, I'd like to bump this once more, given that it was a request that seemed to have a fair amount of support.

Thanks!