feat(a11y): Announce a low battery instead of only colouring it

Crossing the warn or critical threshold was expressed as a colour change only,
so it did not exist for a screen reader. Each battery slot on the overview card
now carries the level as a state description.
This commit is contained in:
darken
2026-08-25 22:33:42 +02:00
committed by Matthias Urhahn
parent 7960144be6
commit b9461d3259
5 changed files with 36 additions and 5 deletions
+2
View File
@@ -274,6 +274,8 @@
<string name="pods_dual_right_short_label">R</string>
<string name="pods_case_label">Case</string>
<string name="battery_unavailable_label">Battery unavailable</string>
<string name="battery_state_low_cd">Battery low</string>
<string name="battery_state_critical_cd">Battery critically low</string>
<string name="pods_case_status_open_label">Open</string>
<string name="pods_case_status_closed_label">Closed</string>
<string name="pods_connection_state_disconnected_label">Not connected to a device</string>