Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix singular translation issues & accessibility improvements #2119

Merged
merged 9 commits into from
Jan 16, 2024

Conversation

vaurdan
Copy link
Contributor

@vaurdan vaurdan commented Jan 15, 2024

Description

This PR introduces some improvements to the Parse.ly plugin. It adds aria labels to previous and next navigations on the Dashboard Widget, enhancing user accessibility and experience. Additionally, it removes an unnecessary translatable string and fixes a translation issue in the getPeriodDescription() function. The latter change ensures accurate display of time-related strings in various languages, addressing issues with singular and plural forms.

These issues have been reported in #2033 and closes it.

Motivation and context

The update is addresses a specific bug in the getPeriodDescription() function, as discussed in the original issue. This bug affected the handling of singular and plural forms in languages like Russian. Improving accessibility in the Dashboard Widget and refining the overall user experience are also motivations for these changes.

How has this been tested?

Tested on my local environment and validated if the strings are still correctly displayed, and using Voice Over, if the newly added aria labels are used instead of the button text.

Screenshots (if appropriate)

N/A

@vaurdan vaurdan added this to the 3.13.0 milestone Jan 15, 2024
@vaurdan vaurdan self-assigned this Jan 15, 2024
@vaurdan vaurdan requested a review from a team as a code owner January 15, 2024 10:39
@vaurdan vaurdan linked an issue Jan 15, 2024 that may be closed by this pull request
Copy link
Collaborator

@acicovic acicovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! approving this with a minor comment.

src/content-helper/common/utils/constants.ts Outdated Show resolved Hide resolved
@vaurdan vaurdan merged commit 3f08cf1 into develop Jan 16, 2024
36 checks passed
@vaurdan vaurdan deleted the fix/translation-and-a11y-issues branch January 16, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect use of singular/plural format for period descriptions
2 participants