Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Browser Tor Browser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 925
    • Issues 925
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Applications
  • Tor BrowserTor Browser
  • Issues
  • #41651

Use moz-toggle in connection preferences

Our connection preferences currently use <checkbox class="toggle-button"> but next ESR release will contain the <moz-toggle> (bugzilla bug 1799466) which we can use. Basically, we want to follow bugzilla bug 1799471.

Note that it changes the accessible role of the element from a "checkbox" to a "toggle-button".

The main difference in firefox is that they put their <label> before the toggle. E.g. see the firefox quick suggestion Address Bar settings when "browser.urlbar.quicksuggest.enabled" is true. Similarly, the addon toggle tends to be end-aligned. We could optionally follow the same style, but I think we'll be ok just placing the <label> manually ourselves.

Assignee
Assign to
Time tracking