You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As browser (specifically, Firefox ESR → Tor Browser) support for HTML5 UI elements improves, it may be possible to use them in place of some of SecureDrop's custom-styled widgets. These may be (a) easier to implement and maintain, especially in the JavaScript-free Source Interface, and (b) more accessible to more users.
Actually i find this new markup elements very interesting, especially details due to the improvements they could offer considering that Javascript is disabled within the SecureDrop context.
As for what relates to menu and dialog i would actually propose to wait and see if they will exit from their experimental status https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu#browser_compatibility. This would guarantee that the feature will be really implemented with long term support and leave open the possibility of supporting more browsers in the future the for future of alternative if they will become available and reasonably secure (e.g. OnionBrowser, Brave)
Description
As browser (specifically, Firefox ESR → Tor Browser) support for HTML5 UI elements improves, it may be possible to use them in place of some of SecureDrop's custom-styled widgets. These may be (a) easier to implement and maintain, especially in the JavaScript-free Source Interface, and (b) more accessible to more users.
User Research Evidence
Prompted by experiments during #5986.
Examples
index.html
dialog
[2]locales.html
menu
[1]lookup.html
details
[3]lookup.html
dialog
[2]Notes:
open
state, which we can't add to the DOM on the script-free Source Interface (cf. Have some way of opening<dialog>
elements without JavaScript whatwg/html#3567).open
state andz-index
, with visibility controlled by:securedrop/securedrop/static/js/source.js
Lines 85 to 103 in 012d30e
The text was updated successfully, but these errors were encountered: