authPopup.inc.xhtml (1710B)
1 # Copyright (c) 2020, The Tor Project, Inc. 2 3 <popupnotification id="tor-clientauth-notification" hidden="true"> 4 <popupnotificationcontent orient="vertical"> 5 <description id="tor-clientauth-notification-desc" /> 6 <label 7 class="text-link popup-notification-learnmore-link" 8 is="text-link" 9 href="about:manual#onion-services_onion-service-authentication" 10 useoriginprincipal="true" 11 data-l10n-id="onion-site-authentication-prompt-learn-more" 12 /> 13 <html:div> 14 <!-- NOTE: Orca 46.2 will not say "invalid" for "type=password". See 15 - https://gitlab.gnome.org/GNOME/orca/-/issues/550 16 - Moreover, it will ignore the aria-errormessage relation when we are 17 - not in a document context. See related bugzilla bug 1820765. --> 18 <html:input 19 id="tor-clientauth-notification-key" 20 type="password" 21 data-l10n-id="onion-site-authentication-prompt-key-input" 22 aria-errormessage="tor-clientauth-warning" 23 /> 24 <html:div 25 id="tor-clientauth-warning" 26 role="alert" 27 aria-labelledby="tor-clientauth-warning-text" 28 > 29 <!-- NOTE: Orca 46.2 treats this notification as non-document context. 30 - As such it seems to only read out the alert content if it contains 31 - a <xul:label>, <html:label> or if it has an accessible name. 32 - We use aria-labelledby here. --> 33 <html:span id="tor-clientauth-warning-text"></html:span> 34 </html:div> 35 <checkbox 36 id="tor-clientauth-persistkey-checkbox" 37 data-l10n-id="onion-site-authentication-prompt-remember-checkbox" 38 /> 39 </html:div> 40 </popupnotificationcontent> 41 </popupnotification>