Special:Preferences currently has a mix of buttons and linked text to link to other pages. There appears to be no clear reason for this choice one way or the other. We could make this interface much more consistent by simply removing all button styling and presenting these as normal links.
User Story
As a Wikimedia user, I want consistent styling of links in Preferences, so that I'm not confused about which links are more important than others.
Design specs
Technical information
- Recently in T317117 we introduced a function that will convert all checkboxes to toggles using JS. We could possibly employ a similar solution here.
- @ERayfield pointed out that the current HTML markup generated is actually a href styled as a button. This means we may be able to unset the current button styling via css and effectively -undo- the button styling and present the underlying href.
- Alternatively, we could override button rendering in the defaultPreferences factory and present a link when in mobile view.
Testing and QA steps
- Log in to a Wikipedia account
- Navigate to the sidebar and select Settings
- Turn on Advanced mode
- Click 'Open preferences' in Settings
- No buttons should be visible in the User profile or Watchlist tabs
Acceptance Criteria
- No links are styled as buttons in Special:Preferences