mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 15:36:33 +00:00
fix(costs): row buttons, settle-up rows and share toggles say what they are about to a screen reader
A screen reader lists a page's buttons together, and the costs views gave
it twenty "Edit" and "Delete" buttons with nothing to tell them apart.
- Edit and delete on an expense name the expense ("Edit: Dinner"), edit
and undo on a payment name who paid whom, on desktop and phone.
- A settle-up row shows only initials in its avatars, its names lived in a
tooltip; the row now carries them for assistive tech too, and its Settle
button says who pays whom and how much.
- The search field of every searchable select (currency, time zone,
category) was read out as "..."; it now says Search in the user's
language.
- The public link toggles on the phone share sheet and the journey share
toggles say whether they are on (aria-pressed), not only by colour.
- Japanese still said "you" in the settle-up lines.
Refs #2604
This commit is contained in:
@@ -42,7 +42,7 @@ const budget: TranslationStrings = {
|
||||
'budget.categoriesLabel': 'カテゴリ',
|
||||
'costs.you': '自分',
|
||||
'costs.youShort': 'Y',
|
||||
'costs.youLower': 'you',
|
||||
'costs.youLower': '自分',
|
||||
'costs.youOwe': '支払う額',
|
||||
'costs.youOweSub': '他の人に支払うべき額',
|
||||
'costs.youreOwed': '受け取る額',
|
||||
|
||||
Reference in New Issue
Block a user