number of characters text alternative sur les images.

 

Hello my dears, I would like to know if there is a way to increase the number of characters in the alt text. Currently it is 255. There is a way to increase it up to 750 or even 1000 characters. We would like to use it for accessibility.

Thank you for your answers.

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
BV52's picture

Hi Guy,

Currently this is not possible without making changes to the code. Thank you for contributing your ideas on how to make H5P better! With the H5P supporter program the H5P community can now vote for and fund the top voted H5P features. Also there are developers in the community who every now and then work on a feature they find interesting or useful. You can also help by developing or help (crowd) fund the development of this feature.

Note: Post has been moved to the feature request forum.

-BV

otacke's picture

Hi all!

You could do that by using the alter_semantics hook, but if you share content with others who are not running the same customization, alt texts will be trimmed to the default length.

Also, there are a couple of recommendations for alt tags on the web, and the maximum length that is often recommended is rather half of the 255 characters possible. Therefore, I doubt that the H5P core team is going to change that.

Best,

Oliver