mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
[Editor] Update the disclaimer string in the new alt-text dialog (bug 1911738)
And tweak the css in order to take into account that disclaimer can be on two (or more lines).
This commit is contained in:
parent
9ac05e797c
commit
fc602c65c0
3 changed files with 5 additions and 5 deletions
|
@ -433,7 +433,7 @@ pdfjs-editor-new-alt-text-textarea =
|
||||||
pdfjs-editor-new-alt-text-description = Short description for people who can’t see the image or when the image doesn’t load.
|
pdfjs-editor-new-alt-text-description = Short description for people who can’t see the image or when the image doesn’t load.
|
||||||
|
|
||||||
# This is a required legal disclaimer that refers to the automatically created text inside the alt text box above this text. It disappears if the text is edited by a human.
|
# This is a required legal disclaimer that refers to the automatically created text inside the alt text box above this text. It disappears if the text is edited by a human.
|
||||||
pdfjs-editor-new-alt-text-disclaimer = This alt text was created automatically.
|
pdfjs-editor-new-alt-text-disclaimer1 = This alt text was created automatically and may be inaccurate.
|
||||||
pdfjs-editor-new-alt-text-disclaimer-learn-more-url = Learn more
|
pdfjs-editor-new-alt-text-disclaimer-learn-more-url = Learn more
|
||||||
|
|
||||||
pdfjs-editor-new-alt-text-create-automatically-button-label = Create alt text automatically
|
pdfjs-editor-new-alt-text-create-automatically-button-label = Create alt text automatically
|
||||||
|
|
|
@ -973,20 +973,20 @@
|
||||||
|
|
||||||
#newAltTextDisclaimer {
|
#newAltTextDisclaimer {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
align-self: stretch;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 16px;
|
width: 17px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
mask-image: var(--new-alt-text-ai-disclaimer-icon);
|
mask-image: var(--new-alt-text-ai-disclaimer-icon);
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
background-color: var(--text-secondary-color);
|
background-color: var(--text-secondary-color);
|
||||||
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,7 +569,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
||||||
<textarea id="newAltTextDescriptionTextarea" placeholder="Write your description here…" aria-labelledby="descriptionAreaLabel" data-l10n-id="pdfjs-editor-new-alt-text-textarea" tabindex="0"></textarea>
|
<textarea id="newAltTextDescriptionTextarea" placeholder="Write your description here…" aria-labelledby="descriptionAreaLabel" data-l10n-id="pdfjs-editor-new-alt-text-textarea" tabindex="0"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<span id="newAltTextDescription" role="note" data-l10n-id="pdfjs-editor-new-alt-text-description">Short description for people who can’t see the image or when the image doesn’t load.</span>
|
<span id="newAltTextDescription" role="note" data-l10n-id="pdfjs-editor-new-alt-text-description">Short description for people who can’t see the image or when the image doesn’t load.</span>
|
||||||
<div id="newAltTextDisclaimer" role="note"><span data-l10n-id="pdfjs-editor-new-alt-text-disclaimer">This alt text was created automatically.</span> <a href="https://support.mozilla.org/en-US/kb/pdf-alt-text" target="_blank" rel="noopener noreferrer" id="newAltTextLearnMore" data-l10n-id="pdfjs-editor-new-alt-text-disclaimer-learn-more-url" tabindex="0">Learn more</a></div>
|
<div id="newAltTextDisclaimer" role="note"><div><span data-l10n-id="pdfjs-editor-new-alt-text-disclaimer1">This alt text was created automatically and may be inaccurate.</span> <a href="https://support.mozilla.org/en-US/kb/pdf-alt-text" target="_blank" rel="noopener noreferrer" id="newAltTextLearnMore" data-l10n-id="pdfjs-editor-new-alt-text-disclaimer-learn-more-url" tabindex="0">Learn more</a></div></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="newAltTextCreateAutomatically" class="toggler">
|
<div id="newAltTextCreateAutomatically" class="toggler">
|
||||||
<button id="newAltTextCreateAutomaticallyButton" class="toggle-button" type="button" aria-pressed="true" tabindex="0"></button>
|
<button id="newAltTextCreateAutomaticallyButton" class="toggle-button" type="button" aria-pressed="true" tabindex="0"></button>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue