为无障碍设计:文本调整在不同的网络浏览器中如何发挥作用
Photo by Alexander Andrews on Unsplash
照片:Alexander AndrewsonUnsplash
Have you heard that 33% of mobile users have text size adjustment enabled on their phones? According to this excellent research by Q42 conducted among more than 1 million Dutch users, many mobile users require text resizing in order to properly read on their mobile devices. While this large survey was conducted specifically in the Netherlands, the data are similar to what is observed across other countries around the world. Therefore, ensuring quality text resizing is vital for approximately one third of your users.
你听说过33%的移动用户在他们的手机上启用了文字大小调整功能吗?根据Q42在100多万荷兰用户中进行的这项出色的研究,许多移动用户需要调整文字的大小,以便在他们的移动设备上正确阅读。虽然这项大型调查是专门在荷兰进行的,但这些数据与世界上其他国家观察到的情况相似。因此,确保高质量的文本调整对你的大约三分之一的用户来说是至关重要的。
Introduction
简介
Hi, I’m Ian, a Web Developer at Zettle, PayPal’s point-of-sale solution.
大家好,我是Ian,Zettle的网络开发人员,PayPal的销售点解决方案。
In one of the recent stories on PayPal Technology Blog my colleagues, James and Kiersten, covered why it is important for modern applications to support text resizing. They also discussed text resizing challenges and solutions in PayPal’s iOS and Android apps, so make sure to check it out.
在PayPal技术博客最近的一篇报道中,我的同事James和Kiersten介绍了为什么现代应用支持文本大小的重要性。他们还讨论了PayPal的iOS和Android应用中的文字大小调整挑战和解决方案,请务必查看。
When it comes to Web, another great reference is the success criterion for text resizing from the Web Content Accessibility Guidelines (WCAG). According to this criterion, content scaling is primarily a user agent responsibility. On the other hand, web content should not prevent user agents from scaling effectively. Thus, web developers need to understand what content scaling techniques are implemented in the browsers.
谈到网络,另一个很好的参考是《网络内容可及性指南》(WCAG)中关于文本大小调整的成功标准。根据这个标准,内容缩放主要是用户代理的责任。另一方面,网络内容不应妨碍用户代理有效地进行缩放。因此,网络开发者需要了解浏览器中实现了哪些内容缩放技术。
In our team, we are working on web apps that equally support desktop and mobile clients. Recently, we’ve found several text resizing issues, and as it often happens in web development, solving them for one browser didn’...