[Request] Specify alt text when using IMG in dispatches

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
The Northern Light
Posts: 130
Founded: Oct 10, 2014
Moralistic Democracy

[Request] Specify alt text when using IMG in dispatches

Postby The Northern Light » Wed Jul 29, 2020 4:05 pm


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

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

Thank you in advance!
Last edited by The Northern Light on Wed Jul 29, 2020 4:05 pm, edited 1 time in total.
Home of the WADP, Planet Eras, and the Constibillocode!
Join The North Pacific!
Where the democracy is strong, the debate robust, and the rum plentiful!

Forum | Discord Chat | Citizenship | Executive Staff | North Pacific Army | World Assembly Ministry | Roleplay | Trading Cards | Handbook

User avatar
Posts: 882
Founded: Mar 25, 2019
Inoffensive Centrist Democracy

Postby Bormiar » Wed Jul 29, 2020 4:55 pm

Seems like a long-overdue feature.
Authored 4 SCRs | Issue Author | The Rejected Realms' Current World Assembly Officer | Defeated Security Council Proposals | Founder of Chameleon

User avatar
Chargé d'Affaires
Posts: 426
Founded: Feb 08, 2016
Scandinavian Liberal Paradise

Postby Praeceps » Mon Aug 03, 2020 8:43 pm

This would be very much appreciated!
Apparently simultaneously a Ravenclaw puppet, a NPO plant, and a Warden spy. I had no idea I was that good. Depending on who you ask, my aliases include Krulltopia.

Guildmaster of The North Pacific Cards Guild

Return to Technical

Who is online

Users browsing this forum: Munkcestrian RepubIic, Noahs Second Country, Novos Italia, Sturmdrungen, The Allied Tribe, The Democratic Nation of Unovia, Tinhampton


Remove ads