-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
[Bug] Aria label for series-custom is displayed in wrong language #18054
Labels
Comments
echarts-bot
bot
added
en
This issue is in English
pending
We are not sure about whether this is a bug/new feature.
labels
Dec 12, 2022
plainheart
added
accessibility
i18n
and removed
pending
We are not sure about whether this is a bug/new feature.
labels
Dec 12, 2022
@Ovilia It seems the fallback series type name is hard-coded as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
5.4.1
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=custom-bar-trend
Steps to Reproduce
https://echarts.apache.org/examples/en/editor.html?c=custom-bar-trend
aria.label.enabled
totrue
)Current Behavior
The generated aria description starts with
"This is a chart. It consists of 8 series count. The 0 series is a 自定义图 representing trend."
Expected Behavior
The aria description should be generated in the user's local language.
"This is a chart. It consists of 8 series count. The 0 series is a custom series representing trend."
Environment
Any additional comments?
Ideally for a custom series we could define our own aria description to describe what is rendered, instead of "custom".
For the above example the custom series is rendered as a line, so it would be great if we could configure an aria-related option on the series so the following description could be generated
"This is a chart. It consists of 8 series count. The 0 series is a line representing trend."
The text was updated successfully, but these errors were encountered: