web-accessibility icon indicating copy to clipboard operation
web-accessibility copied to clipboard

Language support for alt texts

Open adalbertomaia opened this issue 5 years ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe. When I'm developing in portuguese, I need a way to config "nonDescriptiveAlts" and "badAltStarts" to the native language.

Describe the solution you'd like An option to change the language.

Describe alternatives you've considered Maybe a file with the translations ex:

badAltStarts {
 'pt-br': [
   'alt="imagem de',
   'alt="foto de'
   ]
 'en-us': [
   'alt="image of',
   'alt="picture of'
   ]
}

adalbertomaia avatar Mar 31 '20 20:03 adalbertomaia

It's possible?

adalbertomaia avatar Nov 10 '20 12:11 adalbertomaia

Yes this must be possible

mvdschee avatar May 10 '21 11:05 mvdschee