summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-06-24 18:26:29 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-06-24 21:03:41 +0000
commitc9cd5689b8a3871dd590a0d557a5e4563587e9ee (patch)
tree898527eedac14d5037921e73c8e518a8993da2c2 /libs/androidfw/StringPool.cpp
parentc208c6e4f0217c200e275ec179ad9fe46f7c1604 (diff)
[SB][Screen Chips] Make chips accessible.
Two accessibility changes: 1) Add content descriptions to each of the chip types 2) For the screen recording countdown chip, make the region assertive so that the countdown is announced. Bug: 332662551 Flag: com.android.systemui.status_bar_screen_sharing_chips Test: With flag disabled, enable TalkBack -> Trigger phone call -> verify description is "Ongoing phone call" Test: With flag enabled, enable TalkBack -> Trigger phone call -> verify description is "Ongoing phone call" Test: Enable TalkBack -> Share screen to app -> verify description is "Sharing screen" Test: Enable TalkBack -> Cast screen to other device -> verify description is "Casting screen" Test: Enable TalkBack -> Start screen record -> verify the countdown is announced, and that "Recording" screen is announced once the recording actually starts. (Note: With both the old screen record icon and the new chip, one of the countdown numbers is sometimes missed because there's too many other announcements happening at the same time. As long as most of the countdown is announced and "Recording screen" is always announced, this seems okay.) Change-Id: I8f6c82ad819fc19427d91b2b3c3d80cc9f173ae8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions