Bug 1572641 Part 4: Give the More Info button a label for screen readers, r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D41352

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Marco Zehe 2019-08-09 10:36:49 +00:00
Родитель 496afe9c57
Коммит ce376097f4
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,8 @@
role="heading" aria-level="1">
<html:span id="protections-popup-mainView-panel-header-span"/>
</label>
<toolbarbutton id="protections-popup-info-button" class="panel-info-button">
<toolbarbutton id="protections-popup-info-button" class="panel-info-button"
aria-label="&protections.etpMoreInfo.label;">
<image/>
</toolbarbutton>
<description id="protections-popup-toast-panel-tp-on-desc">&protections.etpON.header;</description>

Просмотреть файл

@ -741,6 +741,9 @@ you can use these alternative items. Otherwise, their values should be empty. -
<!ENTITY protections.etpON.header "Enhanced Tracking Protection is ON for this site">
<!ENTITY protections.etpOFF.header "Enhanced Tracking Protection is OFF for this site">
<!-- LOCALIZATION NOTE:
protections.etpMoreInfo.label: The text a screen reader speaks when focused on the info button. -->
<!ENTITY protections.etpMoreInfo.label "More information about Enhanced Tracking Protection">
<!ENTITY protections.settings.label "Protection Settings">
<!ENTITY protections.report.label "Show Full Report">
<!-- LOCALIZATION NOTE: