feat: Enhance TokenUsageIndicator accessibility with detailed aria labels

This commit is contained in:
Marco Beretta 2025-12-15 17:15:58 +01:00
parent 2a30cf604d
commit be606dda6f
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
2 changed files with 15 additions and 6 deletions

View file

@ -1416,7 +1416,8 @@
"com_ui_token": "token",
"com_ui_token_exchange_method": "Token Exchange Method",
"com_ui_token_url": "Token URL",
"com_ui_token_usage_aria": "Context window {{0}}% used",
"com_ui_token_usage_aria_full": "Token usage: {{0}} input, {{1}} output, {{2}} max context, {{3}}% used",
"com_ui_token_usage_aria_no_max": "Token usage: {{0}} input, {{1}} output",
"com_ui_token_usage_indicator": "Token usage indicator",
"com_ui_token_usage_no_max": "Input: {{0}} | Output: {{1}} | Max: N/A",
"com_ui_token_usage_with_max": "Input: {{0}} | Output: {{1}} | Max: {{2}}",