維基媒體專案的界面必須符合無障礙和可讀性,無論何種語言或文字。 这包括大多数人,也包括有特定需求的个人。 然而,目前桌面和行動裝置上的排版使之難以閱讀。 此外,黑暗模式对弱光环境下以及喜欢低对比度阅读环境的用户很有帮助。 我们的界面目前尚未提供这一功能。
无障碍阅读
![]() 通过更改版式与设置让网站更易访问
|
We would like to change the default typography. We will also build additional settings for typography and night mode as preferences. These changes will be available for both logged-in and logged-out users.
项目概要
As part of the 23/24 annual plan, the Web team's goal is to bring appearance settings for all users and change the default typography of all wikis. The default font size and text line height for all users across wikis will increase. This increase will improve readability for the majority of users. The team plans to make this deployment alongside the deployment of a new appearance menu which allows controls for page width, typography, and the upcoming dark mode – meaning that users will easily be able to adjust the font size back to the previous default.
The team plans to initiate discussions across all wikis, focusing on debugging current features and generating ideas for future enhancements. Then, the team will proceed with deployments, bringing the appearance menu to all users and the new typography defaults to logged-in users only. The deployment will be conducted in two steps, initially targeting a small set of wikis for testing before implementing changes across all wikis.
The decision to modify default typography is informed by research findings and accessibility recommendations. Currently, the WCAG recommendations for font size start with a minimum of 16 pixels and a AAA recommendation of 18 pixels for easy reading. Our current default is 14 pixels. This makes it more difficult to read (when compared to similar sites for long-form reading that are following these guidelines). On the other hand, we are aware that scannability (being able to scan and quickly find specific information within the page) is important for Wikipedia and that we should limit changes in text density when setting a new font size. The planned default font size is 16 pixels. This is based on:
- Readability research, academic studies, and market research: these sources indicated that generally bigger is better in terms of font size.
- Most long-form reading websites (such as news websites or social media) opt for somewhere between 16 and 18 pixels. In the two studies that specifically focused on increasing the font size of Wikipedia, researchers determined that increasing size improves comprehension.
- Our own research has shown that most reading sessions are 20–30 seconds long. This isn't enough to digest and change a type setting. This option gives the readability benefits of the new default to the most people possible with the least amount of user effort.
- Accessibility recommendations
Community-proposed designs: 632 logged-in users from 13 Wikipedias submitted designs with typography settings that they considered as comfortable for them. While many designs focused on keeping the default the same, the majority of designs chose a larger font size.
更新
2024年6月:排版設計和深色模式部署、新的全域偏好設定
本月初:外觀選單可供所有人使用,並且針對未登入使用者的排版設計變更
6月初,我們增大了Vector 2022中未登入使用者的預設字型大小。了解關於此部署的更多資訊。幾個月後,我們將研究有多少登入使用者切換到「標準」,並討論登入使用者如此切換是否合理。
外觀選單的全域偏好設定
現在可以選擇應用於所有wiki的文字大小、頁面寬度和色彩偏好設定。為此,請造訪您的全域偏好設定。感謝大家的提問與耐心!
深色模式即將結束測試!
- 深色模式即將可供所有維基百科的登入使用者以及部分維基百科的未登入使用者使用。這將首先應用於行動版網站,然後應用於桌面版網站。預設值仍為「淺色模式」,我們將詢問使用者選擇深色或自動模式。
- 會收到深色模式的受眾因wiki而異:
- 第1、2群維基百科:與淺色模式相比,深色模式的問題數量不多的wiki。這些wiki將為登入和未登入使用者提供深色模式。不過,模板中可能仍存在一些小問題。我們將添加回報這些問題的方法,以便與編輯者共同持續修復模板。
- 第3群維基百科:與淺色模式相比,深色模式的問題數量較多的wiki。這些wiki只會為登入使用者提供深色模式。我們希望為所有使用者提供深色模式。然而,有些wiki仍然需要社群進行模板調整工作。與上面的群組類似,這些wiki也將收到一個用於回報問題的連結,這將有助於發現遺留問題。
- 目前,我們的預定部署日期如下:
- 7月1日當週:第1群維基百科的行動版網站(Minerva)
- 7月15日當週:
- 所有維基百科的桌面版網站(Vector 2022)
- 行動版網站:第2群維基百科的登入和未登入使用者、第3群維基百科的登入使用者
深色模式的工作仍在繼續
下一步,我們將根據裝置偏好自動開啟深色模式。我們也希望所有wiki的未登入使用者都可以使用深色模式。為此,我們仍然需要您協助更新模板和顏色,以便在深色模式下落實無障礙。和以前一樣,我們鼓勵每個人努力解決並回報深色模式的任何問題。關於如何提供協助的詳情,請參閱我們的常見問題解答和先前的訊息。如有任何疑問,請聯絡我們!
背景
Why it is important to work on this
Over the past few years, we have introduced the Vector 2022 skin across many wikis. We have designed it to improve the reading experience. Another goal was to provide an experience that is comfortable for existing users and more welcoming to new users. However, there are still issues with readability we have yet to address. During the research for that project, one of the issues we recognized was the size of the text itself.
Compared to the more accessible digital text, it takes longer to read our content on desktop and mobile. The ability to remember text that was read is also affected. An important factor to keep in mind is that people engage both in in-depth reading and skimming of text.[1] We would like to improve our typography for both of these ways of using the projects.
Also, our desktop site does not allow to set a font size that is comfortable for the user. Instead, readers with specific needs and likings depend on browser functionality to alter the font size. These capabilities vary by browser and are not always supported by the rest of our user interface. This causes issues with tools or navigation.
Annual plan context
Quotation from the Foundation's 2023/2024 annual plan
|
---|
|
目标
排版改进
本项目的目标是:
- 确定并理解问题。 对各维基上的排版问题进行检查和分类
- 让网站更容易阅读。 提升移动版与桌面版网站的可读程度
- 提供更适合不同语言和文字的排版。 通过不同社群的支持与专业知识提升可读程度
- 让读者可以自定义排版。 引入排版的偏好设置,对有着不同需求和喜好的人十分有用
深色模式
- 提升网站在低光照环境下的可读程度
- 让深色模式选项与设置易于发现及使用
时间轴和各阶段
排版改进
阶段 | 時間段 | 描述 |
---|---|---|
Research and literature review | 7月– | We learned what researchers say about typography for desktop and mobile |
Prototype testing + discussing with communities | 10月– | Most editors taking part in the previous testing were open to a font size increase. They came from different communities. |
Beta feature deployment | 2023年12月 | We released the typography improvements as a beta feature to all wikis and encouraged communities to try it out and give us their feedback |
Release to pilot wikis | Iteration based on testing results in collaboration with testing communities | |
Discussions with communities | 4月/ | Announcing the upcoming change and answering questions. This will take 2-3 weeks |
Release to all wikis | 5月/ |
|
深色模式
阶段 | 時間段 | 描述 |
---|---|---|
Technical review | 9月– | We reviewed ideas for implementation of night mode and decided what implementation we want to use. We reviewed the dark mode gadget, night mode on the apps, etc. |
Discussing with communities | We started working with technical editors to adjust the community-controlled code (like templates) so that night mode works well. | |
Pilot release | 3月– | The first version is only available for logged-in users. On mobile, it's only available in the advanced mode. On desktop, it will be a "beta feature". |
Release for all users | 未定義 | When community-controlled code is adjusted, night mode will be available for logged-out users. |
Get involved and Contact
- Promote and adjust the code on wiki, following our recommendations: to roll out our changes for logged-out users, community-controlled code, like templates, needs to be adjusted. It may need discussions on village pumps. It will also need many edits. Help us by starting such conversations and making such edits.
- See the recommendations for night mode compatibility on Wikimedia wikis
- Review and address issues with color contrast on your project using our night mode checker tool
- Review and fix issues with ambiguous colors using our linting tool
- Review error reports from users on your project on our reporting page (note you can modify where these reports go to by editing the page MediaWiki:vector-night-mode-issue-reporting-notice-url).
- Report bugs: create a task in Phabricator and add #fy2023-24-we_2.1_typography_and_palette_customizations project.
Project evaluation
We will measure the success of this project with qualitative and quantitative methods. In particular, we will be looking at:
- Research-supported decisions in prototype creation and development
- Qualitative improvements in readability based on user testing and community conversations
- At least X% of all sessions longer than Ys who customize typography
- Note: exact variables TBD
- At least X% of all sessions use night mode
- No significant change in reading depth