Background
- We would like to begin bringing the reading accessibility settings menu that controls text, width, and night mode, out of beta and to logged-in and logged-out users. As part of this process, we might want to set different type defaults for logged-in and logged-out users during the rollout process so that we ensure a smooth rollout. Eventually, we would like to use the same defaults for all groups of users, allowing people to set their preferred text themselves.
User story
- As a logged-out reader, I want to read text that is accessible, so that I can read quickly and easily
Requirements
- The accessibility settings menu must have the ability to set different defaults for logged-in and logged-out users on desktop
- In the future, both font sizes should be able to default to standard
- We must have the ability to set a different default size for new accounts vs existing accounts
- Defaults:
- Anonymous users will default to standard
- Logged-in users will default to small
Refined Requirement
Implement different default text size settings in the Vector 2022 skin of Wikipedia’s accessibility menu to enhance readability based on user login status and account age:
- Anonymous Users: Default to "Standard" text size.
- New Logged-In Users: Default to "Standard" text size.
- Existing Logged-In Users: Default to "Small" text size.
These defaults should be automatically applied and configurable within the accessibility settings menu to ensure a tailored reading experience for each user category.
BDD
Feature: Default Text Size Configuration Based on User Status Scenario: Default text size for anonymous users on desktop Vector 2022 Given the user is not logged in on the desktop version of Wikipedia When the user accesses any article Then the text size should default to "Standard" Scenario: Default text size for new logged-in users on desktop Vector 2022 Given the user has just created an account and logged in on the desktop version of Wikipedia When the user accesses any article for the first time Then the text size should default to "Standard" Scenario: Default text size for existing logged-in users on desktop Vector 2022 Given the user is logged in and has previously set preferences on the desktop version of Wikipedia When the user accesses any article Then the text size should default to "Small"
Test Steps
Test Case 1: Default Text Size for Anonymous Users
- Open Wikipedia with the Vector 2022 skin without logging in and access any article page.
- AC1: Confirm that the text size is set to "Standard."
Test Case 2: Default Text Size for New Logged-In Users
- Navigate to Wikipedia.org with the Vector 2022 skin, complete the registration process to create a new account, and log in.
- Access any article page for the first time as a logged-in user.
- AC2: Confirm that the text size is set to "Standard."
Test Case 3: Default Text Size for Existing Logged-In Users
- Log into Wikipedia.org with the Vector 2022 skin with credentials of a user who has previously set preferences.
- Access any article page.
- AC3: Confirm that the text size is set to "Small."
Design
- n/a
Acceptance criteria
- All requirements are complete
Communication criteria - does this need an announcement or discussion?
- No announcement needed, no visible user change
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T360098#9724864 |
2 | ✅ | T360098#9724864 |
3 | ✅ | T360098#9724864 |
QA Results - PROD
AC | Status | Details |
---|---|---|
1 | ❌ | T360098#9746297 |
2 | ❌ | T360098#9746297 |
3 | ✅ | T360098#9746297 |