Merge pull request #14797 from overleaf/rd-report-toggle-switch

Accessibility - make the plans view switch to be descriptive

GitOrigin-RevId: cd896b9536d3583cff4094b56f02a6d1a8d11b37
This commit is contained in:
Rebeka Dekany 2023-10-06 15:26:46 +02:00 committed by Copybot
parent 28ac76a2ec
commit 2e46f9e8f4
3 changed files with 3 additions and 0 deletions

View file

@ -621,6 +621,7 @@ mixin monthly_annual_switch(initialState, eventTracking, eventSegmentation)
type="checkbox" type="checkbox"
checked=monthlyAnnualToggleChecked checked=monthlyAnnualToggleChecked
role="switch" role="switch"
aria-label=translate("select_monthly_plans")
autocomplete="off" autocomplete="off"
event-tracking=eventTracking event-tracking=eventTracking
event-tracking-mb="true" event-tracking-mb="true"

View file

@ -579,6 +579,7 @@ mixin monthly_annual_switch(initialState, eventTracking, eventSegmentation)
type="checkbox" type="checkbox"
checked=monthlyAnnualToggleChecked checked=monthlyAnnualToggleChecked
role="switch" role="switch"
aria-label=translate("select_monthly_plans")
autocomplete="off" autocomplete="off"
event-tracking=eventTracking event-tracking=eventTracking
event-tracking-mb="true" event-tracking-mb="true"

View file

@ -1556,6 +1556,7 @@
"select_from_your_computer": "select from your computer", "select_from_your_computer": "select from your computer",
"select_github_repository": "Select a GitHub repository to import into __appName__.", "select_github_repository": "Select a GitHub repository to import into __appName__.",
"select_image_from_project_files": "Select image from project files", "select_image_from_project_files": "Select image from project files",
"select_monthly_plans": "Select for monthly plans",
"select_project": "Select __project__", "select_project": "Select __project__",
"select_projects": "Select Projects", "select_projects": "Select Projects",
"select_tag": "Select tag __tagName__", "select_tag": "Select tag __tagName__",