Add a pref to know if the alt-text must be automatically generated (bug 1909310)

This commit is contained in:
Calixte Denizet 2024-07-22 22:09:08 +02:00
parent 91655aae7f
commit 042183b89b
4 changed files with 21 additions and 12 deletions

View file

@ -179,6 +179,11 @@ const defaultOptions = {
value: false,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableGuessAltText: {
/** @type {boolean} */
value: true,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
enableHighlightEditor: {
// We'll probably want to make some experiments before enabling this
// in Firefox release, but it has to be temporary.