You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-02-23] Screen Reader: Workspace Rules: The switch button is announced with an incorrect name #76906
Tab to focus on the required workspace and press Enter to activate it
Once the Workspace menu is displayed, tab to focus on the "Distance Rates" menu item and press Enter to activate it
Tab to focus on the toggle switch of "Default Rate"
Observe the screen reader announcement
Expected Result:
The switch should be announced with the correct and descriptive name that accurately reflects its visible label and purpose, depending on context, e.g.:
'Default Rate, /mile'
Actual Result:
When navigating to the switch, the screen reader announces it as “Track tax”, which does not accurately describe the control’s actual purpose or visible label. This can confuse users relying on assistive technologies.
Descriptive headings are necessary for users who have disabilities that make reading slow and for people with limited short-term memory. These users benefit when section titles make it possible to predict what each section contains. Form input controls with labels that clearly describe the content that is expected to be entered helps users know how to successfully complete the form.
Suggested resolution:
Update the switch's aria-label to correctly match its visible label and accurately describe the control’s actual purpose, e.g.:
Please re-state the problem that we are trying to solve in this issue.
When navigating to the switch, the screen reader announces it as “Track tax”, which does not accurately describe the control’s actual purpose or visible label. This can confuse users relying on assistive technologies.
What is the root cause of that problem?
The Switch component for individual distance rate rows is using an incorrect accessibilityLabel:
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
changed the title [-]Screen Reader: Workspace Rules: The switch button is announced with an incorrect name[/-][+][Due for payment 2026-02-23] Screen Reader: Workspace Rules: The switch button is announced with an incorrect name[/+]on Feb 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
mavrickdeveloper commentedon Dec 7, 2025
PROPOSAL
Please re-state the problem that we are trying to solve in this issue.
When navigating to the switch, the screen reader announces it as “Track tax”, which does not accurately describe the control’s actual purpose or visible label. This can confuse users relying on assistive technologies.
What is the root cause of that problem?
The Switch component for individual distance rate rows is using an incorrect accessibilityLabel:
App/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx
Lines 243 to 251 in d34df44
the alternateText already constructs the readable format:
App/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx
Lines 227 to 229 in d34df44
What changes do you think we should make in order to solve the problem?
The accessibilityLabel should describe the rate being toggled. A proper fix would combine the rate name with its value:
melvin-bot commentedon Dec 17, 2025
Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
melvin-bot commentedon Dec 18, 2025
10 days overdue. I'm getting more depressed than Marvin.
melvin-bot commentedon Dec 23, 2025
This issue has not been updated in over 14 days. eroding to Weekly issue.
melvin-bot commentedon Jan 17, 2026
This issue has not been updated in over 15 days. eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
Expensify#76906 - Updated announcement for Switch buttons in Distance…
[-]Screen Reader: Workspace Rules: The switch button is announced with an incorrect name[/-][+][Due for payment 2026-02-23] Screen Reader: Workspace Rules: The switch button is announced with an incorrect name[/+]melvin-bot commentedon Feb 16, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-02-23. 🎊
rushatgabhane commentedon Feb 17, 2026
fixed #79233