Merge pull request #18484 from calixteman/bug1909310

Add a pref to know if the alt-text must be automatically generated (bug 1909310)
This commit is contained in:
calixteman 2024-07-23 10:02:03 +02:00 committed by GitHub
commit 33493301b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 12 deletions

View file

@ -187,6 +187,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.