简体   繁体   English

文字大小AppBar / NavBar辅助功能

[英]Text Size AppBar / NavBar Accessibility

The accessibility features in Android enables text size and display components to be enlarged but it seems that some of the native components don't quite allow this to occur as expected. Android中的辅助功能使文本大小和显示组件得以放大,但是似乎某些本机组件并不允许这种情况按预期发生。

2 queries: 2个查询:

  1. This image shows a brand new bottom navigation activity layout. 此图显示了全新的底部导航活动布局。 Because the options are too big for the textviews they spill over with a dash at the end. 由于选项对于文本视图而言太大,因此它们会在末尾加一个破折号。 Is this accessible? 可以进入吗?

Default Bottom Navigation Bar Activity Screenshot 默认底部导航栏活动截图

  1. Is the App Bar text view accessible from a text size/scaling aspect? 是否可以从文本大小/缩放比例访问应用栏文本视图? On some apps I find the header text expands beyond the bounds of the App Bar itself. 在某些应用程序上,我发现标题文本超出了应用栏本身的范围。

Emailed Google Accessibility, they told me to download the Android Accessibility Checker application and check there. 他们通过电子邮件发送给Google Accessibility,告诉我下载Android Accessibility Checker应用程序并进行检查。 Running it on the example applications produced no errors so can confirm that both are accessible despite the ellipsis on the tab bar items and non-scaling of the action bar text. 在示例应用程序上运行它不会产生任何错误,因此尽管选项卡栏项目上的省略号和操作栏文本未缩放,也可以确认两者均可以访问。

To answer the second part of your question, Android's "Font size"/"Large text" settings do not adjust the text size of the title text inside native top app bars. 要回答问题的第二部分,Android的“字体大小” /“大文本”设置不会调整本机顶部应用栏中的标题文本的文本大小。 This appears to be deliberate behaviour. 这似乎是故意的行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM